MATLAB Application Program Interface | Search  Help Desk |
mexIsNaN | See Also |
Determine whether or not a value is Not-a-Number (NaN
)
integer*4 function mexIsNaN(value) real*8 valuevalue
true
if value is Not-a-Number; otherwise, returns false
.
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
0.0/0.0
inf - inf
mexIsFinite
, mexIsInf
, mexGetInf