[Implemented] Numeric var type: DOUBLE

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

[Implemented] Numeric var type: DOUBLE

Post by dell_jockey »

Numeric var type: DOUBLE!
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

Double? What's that? I think PureBasic single is enough... icon_clown.gif
El_Choni
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

--Kale

Image
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post by dell_jockey »

El_Choni wrote:Double? What's that? I think PureBasic single is enough... icon_clown.gif
My question puts me firmly outside the game programming community, I realise that.
I hope there's still a place left here for programmers that indulge in other interests... :)
For what I'm after, I need numeric variables that are much closer to what C has to offer, hence my request for a 'double'.

Kale: I wasn't aware of this thread, thanks for the pointer.

O.k., I've read that thread and saw that 1: my request is not the first one along this lines, and 2: there doesn't seem to be happening much in this department.

I don't feel bad for bringing the subject up again, because, if we stop asking for it, the topic will vanish from the 'to do' list.

Also, I'm aware of the FP64 library, which might solve my immediate needs. I'm looking into it right now.
Whatever I find out about FP64, I'm very surprised about PB not natively offering 64-bit floats.

I wish I had checked out PB better, before registering.... :(
Last edited by dell_jockey on Sun Jan 25, 2004 10:56 am, edited 1 time in total.
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Numeric var type: DOUBLE

Post by PB »

> Numeric var type: DOUBLE!

Please read the FAQ: viewtopic.php?t=4876
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Re: Numeric var type: DOUBLE

Post by dell_jockey »

PB wrote:> Numeric var type: DOUBLE!

Please read the FAQ: viewtopic.php?t=4876
Hi PB,

that thread was the first I checked before posting :) Indeed, for newbies it has an aweful lot of tips. Alas, I couldn't find anything that pertains to native 64-bit floats (i.e. doubles).
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Numeric var type: DOUBLE

Post by PB »

> I couldn't find anything that pertains to native 64-bit floats (i.e. doubles)

From the FAQ:

How can I use strings larger than 64K, and numbers larger than longs?
Strings: viewtopic.php?p=45054
Numbers: Not possible, but planned for a future version of PureBasic.


Numbers larger than longs = doubles. ;)
venom
User
User
Posts: 56
Joined: Fri Jul 25, 2003 1:54 pm
Location: Australia

Post by venom »

are 80-bit floats planned?
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

Doubles are planned for v4.0 of PureBASIC which can't be far off now! :D I personally cant wait especially because i've just come across a problem while trying to calculate file sizes in memory using bytes and long variables cant handle the numbers :?

I don't suppose Fred would like to comment on this thread?
--Kale

Image
Post Reply