Detecting a NAN

Blitz3D Forums/Blitz3D Programming/Detecting a NAN

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

No.

Cygnus. I believe that just creates a new variable called nan, which would therefore also detect var=0.0. If you want to go down that route though you could define Global zero#=0.0, Infinity#=1.0/zero, Nan#=zero/zero.