IsNan
- checks for NaN (not a number)

Miscellaneous functions
(AmiBroker 4.30)


SYNTAX IsNan( x )
RETURNS NUMBER, ARRAY
FUNCTION Returns a nonzero value (1 or TRUE) if the argument x is a NaN; otherwise it returns 0 (FALSE). A NaN is generated when the result of a floating-point operation cannot be represented in Institute of Electrical and Electronics Engineers (IEEE) format.
EXAMPLE IsNan( 0/0 );
SEE ALSO NZ() function

References:

The IsNan function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.