Skip to content
loading...

re: TIL: Calculating n digits of pi using Chudnovsky Algorithm VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I check the pi value using the benchmark software SUPER_PI_MOD-1.5 and i get pi with four millions digits PI=3.1415926535 8979323846 2643383279 502...
 

In the original post, Parambir shows the output for 30 and 300 digits of pi. It's in the code block right after the "Here's the CLI in action:"

./pi.py 30
3.141592653589741586517727315459

./pi.py 300
3.1415926535897415865177273154578650357802526912....

The results as shown in the author's work are wrong, and don't agree with your results.

code of conduct - report abuse