Created
December 12, 2015 23:57
-
-
Save andrewpmiller/162239cee8e253633b2a to your computer and use it in GitHub Desktop.
Formatted comment text for calculating Pi using the Leibniz formula
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Calculating Pi with the Leibniz formula: | |
1 1 1 1 π | |
1 - ––– + ––– - ––– + ––– - ... = ––– | |
3 5 7 9 4 | |
https://en.wikipedia.org/wiki/Leibniz_formula_for_π | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment