Mathematica > Mathematics and Algorithms > Numerical Evaluation & Precision > Precision & Accuracy Control >

WorkingPrecision

WorkingPrecision
is an option for various numerical operations which specifies how many digits of precision should be maintained in internal computations.
  • Setting WorkingPrecision->n causes all internal computations to be done to at most n-digit precision.
  • Even if internal computations are done to n-digit precision, the final results you get may have much lower precision.
Find a root using 60-digit precision arithmetic:
In[1]:=
Click for copyable input
Out[1]=
 
Solve a differential equation using 24-digit precision arithmetic:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
New in 1 | Last modified in 5
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team