MATLAB Application Program Interface Reference Help Desk

mxGetNaN

Purpose

Get the value of Not-a-Number

C Syntax

Returns

The value of 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.

See Also

mxGetEps, mxGetInf



[ Previous | Help Desk | Next ]