Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 512 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 512 Bytes

Pi

This is a small python program that computes digits of Pi indefintely. The statistics about the performance are displayed at the top.

The algorithm is an implementation of Jeremy Gibbons spigot algorithm, specifically the one based on Gosper's series, which he explained in this paper. I used this implementation for my program.

Running

python pi.py