[Nasal-cvs] mathlib.c
Andy Ross
andy at plausible.org
Fri Mar 30 09:41:32 PDT 2007
Update of /home/nasal-cvs/nasal/src
In directory purr:/tmp/cvs-serv2380
Modified Files:
mathlib.c
Log Message:
Melchior points out that NaN/Inf behavior is not platform-independent.
So toss a runtime error ("floating point error") when any of the math
library functions produce a non-finite value. Note that these are not
the only locations that can do that (simply dividing by zero will
produce an Inf), but it's still proper behavior.
More information about the nasal-cvs
mailing list