/gopi

Calculation Pi number

Primary LanguageGoMIT LicenseMIT

gopi

GitHub license Go Report Card GoDoc

Calculate π by Leibniz formula. Short formula:

1 - 1/3 + 1/5 - 1/7 + 1/9 - ... =  π/4

See: wikipedia

License

See file LICENSE(MIT).