This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Numerical Computation / Options  /

  • WorkingPrecision is an option for various numerical operations which specifies how many digits of precision should be maintained in internal computations.
  • WorkingPrecision is an option for such functions as NIntegrate and FindRoot.
  • 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.
  • See the Mathematica book: Section 3.9.3Section 3.9.3.
  • See also: AccuracyGoal, Precision, Accuracy, N.

    Further Examples

    This evaluates the integral using 40-digit precision for internal computations. The precision goal in this case is automatically set to 30 digits.



    The difference from the exact result is given as a number close to 0.



    In fact, the result was correct to about 33 digits.