Compute Pi in C using GMP and BBP formula
Usage: pi [nth digit] [file]
Compute the nth digit of pi using the BBP-formula and write it to stdout or a file. The implementation is in C and based on GMP. The goal was to provide an easy understandable, straight forward implementation and not performance.
Related information: