don't NaN & infinities hide FP errors

kartik kartick_vaddadi at
Thu Nov 18 05:36:03 CET 2004

Gandalf <gandalf at> wrote in message news:<mailman.6478.1100692586.5135.python-list at>...
> On UNIX systems, math.log(-1) will be NaN.
I don't think so. On Linux, I get a ValueError with the message "math domain error".

More information about the Python-list mailing list