# 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)