IsNaN()
Syntax
Result.f = IsNaN(Value.f)Description
Returns nonzero if the given value 'Not a Number'. This value is the result of some invalid calculations. It can also be generated using the NaN() function.
NaN is a special value. Testing for it should not be done using normal comparisons because there are actually many different values for NaN and wether or not NaN is considered equal with itself in comparisons depends on the hardware.Example:
Result = IsNAN(NaN()) ; NaN Result = IsNAN(Sqr(-1)) ; NaN Result = IsNAN(1234.5) ; a normal number Result = IsNAN(Infinity()) ; infinity is not NaN
Supported OS
All