machEpsilon#

Purpose#

Returns the smallest number such that \(1 + eps > 1\).

Format#

eps = machEpsilon()#
Returns:

eps (scalar) – machine epsilon.

Examples#

eps = machEpsilon();
print eps;

The code above produces the following output:

2.2300000e-16

Source#

machconst.src

See also

Functions sysstate()