Function compute_pi

Source
pub fn compute_pi(digits: usize) -> String
Expand description

Compute the digits of Pi using the Chudnovsky algorithm. The result is a string representation of Pi with the specified number of digits.