real-accurate, numpy...increased precision help

Tim Peters tim at digicool.com
Tue Jul 24 14:55:53 EDT 2001


[Bryan Webb]
> I need to be able to work with numbers up to 2^800 in a floating point
> envirnoment. I would like an increase of precision over std floats. ...

Your best bet at this time is to look into Marc-Andre Lemburg's wrapping of
GMP for Python:

http://www.lemburg.com/files/python/eGenix-mx-Extensions.html#mxNumeric

GMP supports arbitrary-precision floats.

> ...
> Should I use real-accurate,

Probably not, but you'll find that out quick enough <wink>.

> or numpy

Not even relevant.





More information about the Python-list mailing list