Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Precision & Accuracy Control >

$MinPrecision

$MinPrecision
gives the minimum number of digits of precision to be allowed in arbitrary-precision numbers.
  • Positive values of $MinPrecision make Mathematica pad arbitrary-precision numbers with zero digits to achieve the specified nominal precision. The zero digits are taken to be in base 2, and may not correspond to zeros in base 10.
  • $MaxPrecision=$MinPrecision=n makes Mathematica do fixed-precision arithmetic.
  • $MinPrecision is measured in decimal digits, and need not be an integer.
Make sure precision is kept at or above machine precision in a calculation:
In[1]:=
Click for copyable input
Out[1]=
 
Do a computation with fixed 20-digit precision:
In[1]:=
Click for copyable input
Out[1]=
New in 3 | Last modified in 5
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team