Turn off ZeroDivisionError?

Mark Dickinson dickinsm at gmail.com
Sun Feb 10 16:56:04 EST 2008


On Feb 10, 3:10 pm, bearophileH... at lycos.com wrote:
> What Python run on a CPU that doesn't handle the nan correctly?

How about platforms that don't even have nans?  I don't think either
IBM's hexadecimal floating-point format, or the VAX floating-point
formats
support NaNs.  Python doesn't assume IEEE 754 hardware;  though much
of its code
could be a lot simpler if it did :-).
rywhere ;-).

Mark



More information about the Python-list mailing list