diff options
| -rw-r--r-- | README.md | 9 | ||||
| -rw-r--r-- | README/sample.mp4 | bin | 0 -> 5747008 bytes | |||
| -rwxr-xr-x | build.sh | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -1,9 +1,16 @@ -# CLI-pi +<h1 align = center> CLI-π </h1> + **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. +<div align = center> + <video width="640" height="384"> + <source src="README/sample.mp4" type="video/mp4"> + </video> +</div> + The program calculates the pi number with high accuracy. In infinite mode, something like AOT compilation is used, first ~10 million decimal places are calculated, and then they are converted to `char[]` through the same MPFR. diff --git a/README/sample.mp4 b/README/sample.mp4 Binary files differnew file mode 100644 index 0000000..f290eb2 --- /dev/null +++ b/README/sample.mp4 @@ -1,3 +1,3 @@ #!/bin/sh -gcc -v -Wall -Wextra -Werror -lm -lmpfr -lgmp -I/usr/local/include -L/usr/local/lib src/main.c -o tpi-v2 +gcc -v -Wall -Wextra -Werror -lm -lmpfr -lgmp -I/usr/include -L/usr/lib src/main.c -o tpi-v2 -m32 |
