8838d1497eecd592b88098f8ed63a2445d7d9b9c
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.
Description
A rust program to calculate pi, with multiple threads
44 KiB
Languages
Rust
100%