From 1ccfa7529dc9d3bdada0f2384a2538047a120976 Mon Sep 17 00:00:00 2001 From: ArcaneDev Date: Sat, 13 Sep 2025 21:41:51 +0300 Subject: Update README.md --- README.md | 8 ++++++-- 1 file 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 @@

CLI-π

+
**tpi - C-written, MPFR-based CLI program for calculating pi** +
> [!WARNING] > For the accuracy of calculations, a large MPFR library is used, there may be delays and high processor loads on weak systems.
-
+ 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. + + # 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. -- cgit v1.2.3