How does sympy calculate pi?

Viewed 1432

What is the numerical background of sympy to calculate pi?

I know that SymPy uses mpmath in the background, which makes it possible to perform computations using arbitrary-precision arithmetic. That way, some special constants, like e, pi, oo, are treated as symbols and can be evaluated with arbitrary precision.

But how does Sympy determine the any number of decimal places? How does Sympy do it numerically?

1 Answers
Related