DOCUMENTATION CENTER SEARCH
Mathematica
>
Precision & Accuracy Control
>
Built-in
Mathematica
Symbol
Machine-Precision Numbers
Tutorials »
|
$MachinePrecision
$MinMachineNumber
$MaxMachineNumber
See Also »
|
Precision & Accuracy Control
Representation of Numbers
System Information
More About »
$MachineEpsilon
$MachineEpsilon
gives the smallest machine-precision number which can be added to
1.0
to give a result that is distinguishable from
1.0
.
MORE INFORMATION
$MachineEpsilon
is typically
2
-
n
+1
, where
n
is the number of binary bits used in the internal representation of machine-precision floating-point numbers.
$MachineEpsilon
measures the granularity of machine-precision numbers.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
In[1]:=
Out[1]=
The result of adding 1 to
$MachineEpsilon
is distinct from 1:
In[2]:=
Out[2]=
In[3]:=
Out[3]=
This does not work for any smaller machine precision number:
In[4]:=
In[5]:=
Out[5]=
Scope
(2)
Applications
(2)
Properties & Relations
(3)
Neat Examples
(1)
SEE ALSO
$MachinePrecision
$MinMachineNumber
$MaxMachineNumber
TUTORIALS
Machine-Precision Numbers
MORE ABOUT
Precision & Accuracy Control
Representation of Numbers
System Information
New in 2
© 2008 Wolfram Research, Inc.