real-accurate, numpy...increased precision help

David M. Cooke cookedm+news at physics.mcmaster.ca
Tue Jul 24 15:06:19 EDT 2001


At some point, Skip Montanaro <skip at pobox.com> wrote:

>     Bryan> I need to be able to work with numbers up to 2^800 in a floating
>     Bryan> point envirnoment.
> 
> Perhaps you could create a class implements all the required numeric
> functionality and uses one or more Python longs to represent the number
> internally.

Or use Alex Martelli's wrapper of GMP:

http://gmpy.sourceforge.net

This gives you your multiprecision integers, rationals, and floats.

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke
|cookedm(at)physics(dot)mcmaster(dot)ca



More information about the Python-list mailing list