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

slowriot/simgear,slowriot/simgear