$MinPrecision

$MinPrecision
gives the minimum number of digits of precision to be allowed in arbitrary-precision numbers.

DetailsDetails

  • The default value of $MinPrecision is .
  • 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.

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

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
New to Mathematica? Find your learning path »
Have a question? Ask support »