Page 2 of 2

Posted: Fri May 06, 2005 2:02 am
by jack
depending on how long before doubles are implemented in PB, you could write a preprocessor that would translate a pb program that's using double precision math into inline asm functions and then compile the translated program. :)

Posted: Fri May 06, 2005 7:28 am
by DarkDragon
Escobar wrote:Hmm... I'm not sure if this is right but wouldn't it be possible to use inline assembler to define datatypes like double?
I went to

http://www.flatassembler.net

for pure fun (got to love that word 8) ) to see if they did any OpenGL programming and I found converted header-files for OGL. In that header file (gl.inc) they declared datatypes like this:

So, if one use inline asm. that should be possible right? And therefore you should be able to use commands like glOrtho() in OGL that require double.
Just a thought...
Well, we have already the datatype double defined ;) with the F64 lib or another DoubleLib.

Posted: Fri May 06, 2005 8:37 am
by akee
when all of us move to 64-bit platforms, will double be 128-bits?

Posted: Fri May 06, 2005 12:35 pm
by Kale
akee wrote:when all of us move to 64-bit platforms, will double be 128-bits?
Quads? :wink: