about presicion

Alex Martelli aleaxit at yahoo.com
Fri Aug 27 13:57:43 EDT 2004


Batista, Facundo <FBatista at uniFON.com.ar> wrote:

> [alikakakhel3 at hotmail.com]
> 
> 
> #- I was wondering if it was posible to get very good presicion. I mean
> #- like to the to the 100 th or more decimal place. if so how?
> 
> In Python 2.4 you'll have the Decimal module:

...and that's surely the right choice if you want decimal arithmetic.
If you want binary float arithmetic with ridiculous numbers of bits of
precision, that's one of the GMP features wrapped by
gmpy.sourceforce.net ...


Alex



More information about the Python-list mailing list