$MaxPrecision
✖
$MaxPrecision
✖
gives the maximum number of digits of precision to be allowed in arbitrary‐precision numbers.
Details

- The default value of $MaxPrecision is Infinity.
- $MaxPrecision=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.
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Applications (1)Sample problems that can be solved with this function
Possible Issues (1)Common pitfalls and unexpected behavior
When $MaxPrecision is set, some computations may not get correct results:
In[1]:=1

✖
https://wolfram.com/xid/0n45ebmagpe-i671t
Out[1]=1

The actual value is much smaller:
In[2]:=2

✖
https://wolfram.com/xid/0n45ebmagpe-2ujke
Out[2]=2

Wolfram Research (1996), $MaxPrecision, Wolfram Language function, https://reference.wolfram.com/language/ref/$MaxPrecision.html (updated 2003).
✖
Wolfram Research (1996), $MaxPrecision, Wolfram Language function, https://reference.wolfram.com/language/ref/$MaxPrecision.html (updated 2003).
Text
Wolfram Research (1996), $MaxPrecision, Wolfram Language function, https://reference.wolfram.com/language/ref/$MaxPrecision.html (updated 2003).
✖
Wolfram Research (1996), $MaxPrecision, Wolfram Language function, https://reference.wolfram.com/language/ref/$MaxPrecision.html (updated 2003).
CMS
Wolfram Language. 1996. "$MaxPrecision." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2003. https://reference.wolfram.com/language/ref/$MaxPrecision.html.
✖
Wolfram Language. 1996. "$MaxPrecision." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2003. https://reference.wolfram.com/language/ref/$MaxPrecision.html.
APA
Wolfram Language. (1996). $MaxPrecision. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$MaxPrecision.html
✖
Wolfram Language. (1996). $MaxPrecision. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$MaxPrecision.html
BibTeX
✖
@misc{reference.wolfram_2025_$maxprecision, author="Wolfram Research", title="{$MaxPrecision}", year="2003", howpublished="\url{https://reference.wolfram.com/language/ref/$MaxPrecision.html}", note=[Accessed: 02-April-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_$maxprecision, organization={Wolfram Research}, title={$MaxPrecision}, year={2003}, url={https://reference.wolfram.com/language/ref/$MaxPrecision.html}, note=[Accessed: 02-April-2025
]}