BBP-Algorithm in Python – Working with Arbitrary-precision arithmetic
BBP-Algorithm in Python – Working with Arbitrary-precision arithmetic Question: I am writing on a term paper about the calculation of pi. While i have finished the theoretical site, i`m now struggeling implementing the BBP-Algorithm in Python. You can find the BBP-Algorithm here: http://en.wikipedia.org/wiki/Bailey%E2%80%93Borwein%E2%80%93Plouffe_formula And this is my Implementation in Python: from sympy.mpmath import * pi …