bailey borwein plouffe Algorithm

The Bailey – Borwein – Plouffe formula (BBP formula) is a formula for π. It was observed in 1995 by Simon Plouffe and is named after the writers of the article in which it was published, David H. Bailey, Peter Borwein, and Plouffe.

bailey borwein plouffe source code, pseudocode and analysis