80 bit precision ?

  • Thread starter =?iso-8859-1?q?S=E9bastien_Boisg=E9rault?=
  • Start date
?

=?iso-8859-1?q?S=E9bastien_Boisg=E9rault?=

Not in the core language or the std library.

However, if you are insterested in high-precision
computations, gmpy may be useful:

http://sourceforge.net/projects/gmpy/

To be honest, I have never used it ;). A review
would be appreciated.

Regards,

SB
 
P

Paul Rubin

Sébastien Boisgérault said:
http://sourceforge.net/projects/gmpy/

To be honest, I have never used it ;). A review would be
appreciated.

I've used it for large integer calculations and it's great, around 5x
faster than Python longs if I remember right. I did hit a couple bugs
that have been fixed since then, and there are a few interface quirks.
 
K

km

Hi all,

does python currently support 80 bit precision Floating Point Unit ?

regards,
KM
 
C

chris

km said:
Hi all,

does python currently support 80 bit precision Floating Point Unit ?

regards,
KM

I've just been using the decimal module for Python 2.3 (native in Python
2.4) at 100 digit precision to solve some very high order polynomials. Slow
but worked well for me. Also used a rational.py module ported to Py 2.3.
Perhaps you can do your calcs to the precision you want with a combination
of decimal and rational arithmetic.

bwaha
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,239
Messages
2,571,200
Members
47,838
Latest member
elibuskamoSeAve

Latest Threads

Top