External Interfaces/API Reference    
mexIsNaN

Determine whether or not a value is NaN (Not-a-Number)

Fortran Syntax

Arguments
value
   The double-precision, floating-point number you are testing.

Returns

true if value is NaN (Not-a-Number), and false otherwise.

Description

Call mexIsNaN to determine whether or not value is equal to NaN, the IEEE arithmetic representation for Not-a-Number. A NaN is obtained as a result of mathematically undefined operations such as:

See Also

mexIsFinite, mexIsInf, mexGetInf


 mexIsInf mexPrintf