don't NaN & infinities hide FP errors

kartik kartick_vaddadi at yahoo.com
Thu Nov 18 05:36:03 CET 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