External Interfaces Reference Previous page   Next Page
mxGetNaN

Get value of NaN (Not-a-Number)

C Syntax

Returns

The value of NaN (Not-a-Number) on your system.

Description

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

The value of Not-a-Number is built in to the system. You cannot modify it.

Examples

See mxgetinf.c in the mx subdirectory of the examples directory.

See Also

mxGetEps, mxGetInf


Previous page  mxGetName (Obsolete) mxGetNumberOfDimensions Next page

© 1994-2005 The MathWorks, Inc.