8 Commits

Author SHA1 Message Date
Eric Lynema
3bea3d532a docs: update README to describe Chudnovsky algorithm and threads note
Some checks failed
CI / build (push) Has been cancelled
2025-12-28 00:47:54 -05:00
Eric Lynema
6d183a5526 Merge branch 'improve/pi-recommendations'
Some checks failed
CI / build (push) Has been cancelled
2025-12-28 00:45:05 -05:00
Eric Lynema
73d5325203 Parallelize binary-splitting using rayon::join 2025-12-20 23:23:56 -05:00
Eric Lynema
ed5c349796 Implement Chudnovsky binary-splitting Pi calculator (replace BBP) 2025-12-20 23:21:36 -05:00
Eric Lynema
771c6dd230 Implement improvements: rayon parallelism, safer CLI, output file option, tests, CI workflow, tuned release profile 2025-12-20 23:15:24 -05:00
Eric Lynema
bdf1abb201 fix: Correct Pi digit calculation 2025-09-07 19:01:35 -04:00
Eric Lynema
ebb03312c6 docs: Add README.md 2025-09-01 20:05:23 -04:00
Eric Lynema
8838d1497e feat: Implement multi-threaded Pi calculator
This commit introduces a new Rust program that calculates the first n
digits of Pi using the BBP algorithm. The program is multi-threaded and
allows the user to specify the number of threads to use. It uses the
`rug` crate for arbitrary-precision arithmetic to ensure the accuracy of
the calculated digits.

The program can be run from the command line, taking the number of
digits and the number of threads as arguments.
2025-09-01 19:29:52 -04:00