Docs.rs
rustedbytes-pi-0.1.0
rustedbytes-pi 0.1.0
Permalink
Docs.rs crate page
GPL-3.0
Links
Homepage
Repository
crates.io
Source
Owners
mad4j
Dependencies
clap ^4.5.37
normal
dashu ^0.4
normal
dashu-base ^0.4.1
normal
dashu-float ^0.4
normal
dashu-int ^0.4.1
normal
dashu-macros ^0.4
normal
howlast ^0.1.1
normal
rayon ^1.10.0
normal
Versions
80%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
rustedbytes_
pi
0.1.0
All Items
Crate Items
Functions
Crate
rustedbytes_pi
Copy item path
Source
Functions
ยง
binary_
split
Compute the binary split for the Chudnovsky algorithm. This function recursively computes the values of Pab, Qab, and Rab for the given range [a, b]. The binary split method is used to optimize the computation.
chudnovsky
Compute the Chudnovsky algorithm for Pi with the specified number of iterations and digits.
chudnovsky_
iterations
Calculate the number of iterations needed for the Chudnovsky algorithm to achieve the desired number of digits.
compute_
pi
Compute the digits of Pi using the Chudnovsky algorithm. The result is a string representation of Pi with the specified number of digits.