469,343 Members | 5,522 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,343 developers. It's quick & easy.

80 bit precision ?

km
Hi all,

does python currently support 80 bit precision Floating Point Unit ?

regards,
KM
Jul 19 '05 #1
3 1812

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

Jul 19 '05 #2
"Sébastien Boisgérault" <Se*******************@gmail.com> writes:
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.
Jul 19 '05 #3

"km" <km@mrna.tn.nic.in> wrote in message
news:ma*************************************@pytho n.org...
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
Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Brian van den Broek | last post: by
5 posts views Thread by DAVID SCHULMAN | last post: by
3 posts views Thread by Madan | last post: by
2 posts views Thread by mdeaver2003 | last post: by
6 posts views Thread by R.Biloti | last post: by
2 posts views Thread by rupert | last post: by
9 posts views Thread by asdf | last post: by
10 posts views Thread by Bo Yang | last post: by
reply views Thread by Charles Coldwell | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.