diff options
| author | ArcaneDev <alive6863@gmail.com> | 2025-09-13 21:41:51 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-13 21:41:51 +0300 |
| commit | 1ccfa7529dc9d3bdada0f2384a2538047a120976 (patch) | |
| tree | 3df1ff4b9e96fe8a696ab179b586bc7d36337255 /README.md | |
| parent | 9a9666c83eaf4822c49b08f14ccbc7c9b0575b6f (diff) | |
Update README.md
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,15 +1,17 @@ <h1 align = center> CLI-π </h1> +<div align = center> **tpi - C-written, MPFR-based CLI program for calculating pi** +</div> > [!WARNING] > For the accuracy of calculations, a large MPFR library is used, there may be delays and high processor loads on weak systems. <div align = center> <video width="640" height="384"> - <source src="README/sample.mp4" type="video/mp4"> + <source src="./README/sample.mp4" type="video/mp4"> </video> -</div> + The program calculates the pi number with high accuracy. @@ -19,6 +21,8 @@ $$100,000,000 \text{ ms} = 100,000 \text{ s} = \frac{100,000}{3600} \text{ hours But if you need more, you can change the len variable and recompile the project with `build.sh` for yourself by setting a different limit. Be careful, the CPU load will be higher. +</div> + # How does the calculation work? Calculations are performed using the Gauss method, which is based on the use of integrals and properties of elliptic integrals. This method, also known as the Gauss-Legandre method, makes it possible to calculate pi with high accuracy using an iterative process. |
