External Interfaces/API Reference    
mexGetNaN

Get the value of NaN (Not-a-Number)

Fortran Syntax

Arguments
none
  

Returns

MATLAB's value of NaN (Not-a-Number).

Description

Call mexGetNaN to return the value of NaN for MATLAB. NaN is the IEEE arithmetic representation for Not-a-Number. Certain mathematical operations return NaN as a result, for example:

See Also

mexGetEps, mexGetInf


 mexGetMatrixPtr mexIsFinite