Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Systems Interfaces & Deployment > Mathematica Sessions > Session Customization > Global Computation Settings & Parameters > $MaxPrecision >

$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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF