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 MATLAB's 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. MATLAB's PINV and RANK functions use eps as a default tolerance.

Example

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

See Also

mxGetInf, mxGetNaN


 mxGetElementSize mxGetField