NaN?

Blitz3D Forums/Blitz3D Programming/NaN?

# divided by 0 = Infinity
A NaN can be caused by 0/0 though.

Here's a nifty Function to detect these 'values', thanks to Koriolis:

Function isNaNOrInf%(f#) 
   Return (f + 1) = f 
End Function


Returns False for a normal number, True for something eville.