Skip to content

Description:

  • Python library for real and complex floating-point arithmetic with arbitrary precision.

Resources:

Computes 50 digits of pi by numerically evaluating the Gaussian integral

from mpmath import mp
mp.dps = 50
print(mp.quad(lambda x: mp.exp(-x**2), [-mp.inf, mp.inf]) ** 2)

ganymede is made by Eugo