blob: 8f241a92ed5f0ec35706f332cd66f4b56ffcd7a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# Implementation of algorithms for computing digits of pi
This repository contains a collection of multiple implementations of algorithms
for computing pi. The code has in genenral not been optimized as it was written
primarily for fun.
See [this article](https://thomaslabs.org/projects/compute-pi.html) for more information.
Currently included:
* [Chudnovsky](https://en.wikipedia.org/wiki/Chudnovsky_algorithm) with binary splitting for better performance.
* [Bailey, Borwein and Plouffe](https://en.wikipedia.org/wiki/Approximations_of_pi#Efficient_methods)
|