Skip to content

a helpful class to calculate and check digits of PI relatively fast using Gauss-Legendre algorithm and arbitary precision.

License

Notifications You must be signed in to change notification settings

sBubshait/CalcPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CalcPI

a helpful class to calculate and check digits of PI relatively fast using Gauss-Legendre algorithm and arbitary precision. For example, this class can calculate PI correct up to a million decimal digits in about 2 seconds (on my Mac Air).

Get Started

To start, you will need to have python installed which can be downloaded from here

Then, you can clone this repository using the following command:

git clone https://github.com/sBubshait/CalcPI.git

Finally, you can start testing in the main.py file! You can run the main.py file using the following command:

python main.py

Have fun!

About

a helpful class to calculate and check digits of PI relatively fast using Gauss-Legendre algorithm and arbitary precision.

Topics

Resources

License

Stars

Watchers

Forks

Languages