GMP Library

BlitzMax Forums/Brucey's Modules/GMP Library

Shortwind(Posted 2009) [#1]
Can you convert this to BlitzMax???

http://gmplib.org/

Thanks.


Brucey(Posted 2009) [#2]
That looks doable. Leave it with me.


Brucey(Posted 2009) [#3]
Well, that's most of the useful stuff implemented (Int, Float and Rational types).

Just needs some examples and the documentation finished off, and I think it will be good to go.
Tested so far on Mac and Win32.

Available in SVN. :-)


xlsior(Posted 2009) [#4]
Um... Does this warning from the GMP page affect Blitzmax as well?

N.B. gcc 4.3.2 miscompiles GMP 4.3.x on 64-bit machines



Brucey(Posted 2009) [#5]
I don't believe we are using 4.3 anywhere. Well, I know that the shared libraries that I've built/included with the distro haven't been built with it.
I'd also assume it means 64-bit builds.. which of course we wouldn't be using.