Compute 𝛑 to a ludicrously high precision!
.net 9.0 + Avalonia UI. Developed with JetBrains Rider IDE.
Uses the ExtendedNumerics BigDecimal class.
Uses these algorithms to calculate 𝛑:
- Andrew Jennings' Javascript code
- Cygnus Software's technique
- The Plouffe / Bellard algorithm
https://math.tools/numbers/pi/1000000
This program uses a single CPU core.
It calculated 1,000,000 digits in ~20 minutes on an AMD Ryzen 7 PRO 7840U with 64 GB RAM.
The Plouffe / Bellard code could be easily parallelized, but since the Andrew Jennings code is so much faster, there's really no point.