Paul Rubin <http://[EMAIL PROTECTED]> wrote:

> (rejected) for Python to support exact rational arithmetic in addition
> to floating point and exact integer arithmetic.  Exact rationals in
> Python (if implemented) should behave like mathematical rationals.
> But Python floating point arithmetic should follow IEEE 754, at least
> when the hardware supports it, which these days is almost always.

Incidentally (and I know you know that, Paul, but others interested in
this thread might not) fast exact rational arithmetic (based on the LGPL
library named GMP) is supplied, among other functionality, by module
gmpy, currently found at http://code.google.com/p/gmpy/ (this version is
more recent than the older one at sourceforce, which for some reason
doesn't let me update things right any more).


Alex
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to