Python fails on math

Steven D'Aprano steve+comp.lang.python at pearwood.info
Thu Feb 24 12:55:19 CET 2011


On Wed, 23 Feb 2011 13:26:05 -0800, John Nagle wrote:

> The IEEE 754 compliant FPU on most machines today, though, has an 80-bit
> internal representation.  If you do a sequence of operations that retain
> all the intermediate results in the FPU registers, you get 16 more bits
> of precision than if you store after each operation.

That's a big if though. Which languages support such a thing? C doubles 
are 64 bit, same as Python.


-- 
Steven



More information about the Python-list mailing list