FUNCTION REFERENCE

eps

Spacing of numbers near 1.

Spacing of numbers near 1.

Syntax

eps

Syntax

eps('single')

Syntax

eps(single(X))

Without an argument the constant is 2^-52, about 2.2204e-16. Single precision at 1 has spacing 2^-23.

Example

eps < 1e-15   % true (1)

Example

eps(single(1))   % single precision spacing

Differences from MATLAB: none known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.