Incorrect Floating Point comparisons with NaN

Blitz3D Forums/Blitz3D Bug Reports/Incorrect Floating Point comparisons with NaN

If n# = 1.0/ZERO print "n = infinity"
If n# = -1.0/ZERO print "n = -infinity"
If n# = sqr(-1) print "n = NaN"

Have to use a zero variable because Blitz will stop you if you just try to divide by 0. You can't use a constant because it will detect that as well.

You may put NaN in a constant though.