ScratchData LogoScratchData
Back to Zro716's profile

Pi

ZRZro716•Created April 26, 2015
Pi
78
60
2678 views
View on Scratch

Description

I stumbled upon a very brief and powerful C program that calculates over a thousand digits of pi super fast. I presumed it to be an adaptation of a Machin-like formula, but the exact algorithm used is a spigot algorithm: http://www.pi314.net/eng/goutte.php Inside is the C program (both in its original form and "readable" form), and the Scratch equivalent/translation. http://codepad.org/coJOcSsx

Project Details

Project ID59017034
CreatedApril 26, 2015
Last ModifiedJuly 2, 2015
SharedApril 26, 2015
Visibilityvisible
CommentsAllowed