This repository contains a Python script that calculates the digits of π (pi) using a novel algorithm based on Catalan numbers and fixed-point arithmetic. The algorithm efficiently computes the digits of π by leveraging the properties of Catalan numbers, making it a unique and effective method for high-precision calculations.
python math pi computational-mathematics arbitrary-precision numerical-methods catalan-numbers high-precision mathematical-algorithms gmpy2 pi-calculation fixed-point-arithmetic high-precision-calculation pi-digits-calculation
- Updated
Jun 22, 2024 - Python