[Implemented] Numeric var type: DOUBLE
-
- Enthusiast
- Posts: 767
- Joined: Sat Jan 24, 2004 6:56 pm
[Implemented] Numeric var type: DOUBLE
Numeric var type: DOUBLE!
-
- Enthusiast
- Posts: 767
- Joined: Sat Jan 24, 2004 6:56 pm
My question puts me firmly outside the game programming community, I realise that.El_Choni wrote:Double? What's that? I think PureBasic single is enough... icon_clown.gif
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.
-
- Enthusiast
- Posts: 767
- Joined: Sat Jan 24, 2004 6:56 pm
Re: Numeric var type: DOUBLE
Hi PB,
that thread was the first I checked before posting

Re: Numeric var type: DOUBLE
> 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.
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.

Doubles are planned for v4.0 of PureBASIC which can't be far off now!
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?


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