summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArcaneDev <alive6863@gmail.com>2025-09-13 21:41:51 +0300
committerGitHub <noreply@github.com>2025-09-13 21:41:51 +0300
commit1ccfa7529dc9d3bdada0f2384a2538047a120976 (patch)
tree3df1ff4b9e96fe8a696ab179b586bc7d36337255
parent9a9666c83eaf4822c49b08f14ccbc7c9b0575b6f (diff)
Update README.md
-rw-r--r--README.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/README.md b/README.md
index 7bd4f98..55954ab 100644
--- a/README.md
+++ b/README.md
@@ -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.