don't NaN & infinities hide FP errors

kartik kartick_vaddadi at yahoo.com
Wed Nov 17 23:36:03 EST 2004


Gandalf <gandalf at geochemsource.com> wrote in message news:<mailman.6478.1100692586.5135.python-list at python.org>...
> 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