Returns eps
, which quantifies the relative machine precision
of floating point numbers (a machine specific quantity). The syntax
for eps
is:
y = eps
which returns eps
for double
precision values. For most
typical processors, this value is approximately 2^-52
, or 2.2204e-16.
The following example demonstrates the use of the eps
function,
and one of its numerical consequences.
--> eps ans = <double> - size: [1 1] 1.11022302462516e-16 --> 1.0+eps ans = <double> - size: [1 1] 1.000000000000000