MATLAB Application Program Interface Reference Help Desk

mexIsNaN

Purpose

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

Fortran Syntax

Arguments

value

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

Returns

true if value is Not-a-Number; otherwise, returns false.

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



[ Previous | Help Desk | Next ]