|
||||||||||
|
After 121 iterations π ~= 3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706 7982148086513282306647093844609550582231725359408067 So after reading this article I decided to do a little Pi programming myself... turns out my web server won't let me compile using gcc so they forced me to do it in PHP and really bog down their servers! Haha. The formula I'm using is BBP (full paper here), however I'm not using it's miraculous compute-the-nth-digit-of-pi property... |