A 'C' program to calculate value of PI upto 100,000 digits and more!
- uses GMP to store big big big decimals.
- uses Beeler et al. 1972, Item 120. formula to calculate PI.
- Thanks to Google Colab. for computing resource!
- Here is a great article on installing gmp(linux).
- run
gcc Pi-Calc.c -o Pi-Calc -lgmp - run
./Pi-Calcand Enter Desired digits of PI.