khushit-shah / PI-Calculator

A 'C' program to calculate value of PI upto 100,000 digits and more!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PI-Calculator

A 'C' program to calculate value of PI upto 100,000 digits and more!

  1. uses GMP to store big big big decimals.
  2. uses Beeler et al. 1972, Item 120. formula to calculate PI.
  3. Thanks to Google Colab. for computing resource!

Installation:

  1. Here is a great article on installing gmp(linux).
  2. run gcc Pi-Calc.c -o Pi-Calc -lgmp
  3. run ./Pi-Calc and Enter Desired digits of PI.

About

A 'C' program to calculate value of PI upto 100,000 digits and more!

License:MIT License


Languages

Language:C++ 75.9%Language:C 24.1%