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".