| MATLAB Application Program Interface | Search  Help Desk |
| mexIsNaN | See Also |
Determine whether or not a value is NaN (Not-a-Number)
Fortran Syntax
integer*4 function mexIsNaN(value) real*8 value
Arguments
valueReturns
true if value is NaN (Not-a-Number); otherwise, returns false.
Description
CallmexIsNaN 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