Add Chudnovskys algorithm for calculating many digits of pi (#1752) · coderjack/algorithms-in-python@f0dfc4f · GitHub
Skip to content

Commit f0dfc4f

Browse files
Add Chudnovskys algorithm for calculating many digits of pi (TheAlgorithms#1752)
* Add Chudnovskys algorithm for calculating many digits of pi * Update return value type hint * Initialize partial sum to be of type Decimal * Update chudnovsky_algorithm.py Co-authored-by: Christian Clauss <cclauss@me.com>
1 parent 7b7c1a0 commit f0dfc4f

1 file changed

Lines changed: 61 additions & 0 deletions

File tree

maths/chudnovsky_algorithm.py

Lines changed: 61 additions & 0 deletions

0 commit comments

Comments
 (0)