| MATLAB Application Program Interface | Search  Help Desk |
| mxGetEps | Examples See Also |
C Syntax
#include "matrix.h" double mxGetEps(void);
Returns
The value of the MATLABeps variable.
Description
CallmxGetEps 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
Seemxgeteps.c in the mx subdirectory of the examples directory.
See Also
mxGetInf, mxGetNaN