External Interfaces/API Reference    
mxGetEps

Get value of eps

C Syntax

Returns

The value of the MATLAB eps variable.

Description

Call mxGetEps to return the value of the MATLAB eps variable. This variable holds the distance from 1.0 to the next largest floating-point number. As such, it is a measure of floating-point accuracy. The MATLAB PINV and RANK functions use eps as a default tolerance.

Examples

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

See Also

mxGetInf, mxGetNaN


  mxGetElementSize mxGetField