This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

$MaxPrecision

$MaxPrecision
gives the maximum number of digits of precision to be allowed in arbitrary-precision numbers.
  • Infinity uses the maximum value possible on a particular computer system, given roughly by Log[10, $MaxNumber].
  • $MaxPrecision is measured in decimal digits, and need not be an integer.
Limit a calculation to use at most 100 digits of precision:
Do a computation with fixed 24 digit precision:
Limit a calculation to use at most 100 digits of precision:
In[1]:=
Click for copyable input
Out[1]=
 
Do a computation with fixed 24 digit precision:
In[1]:=
Click for copyable input
Out[1]=
Iterate a map using fixed precision:
If the precision is not fixed, it eventually drops to zero in the 100 iterations:
When $MaxPrecision is set, some computations may not get correct results:
The actual value is much smaller:
New in 3 | Last modified in 5