Ross ROSS = Recommend OSS · open-source software intelligence for agents

mpmath/mpmath

Python library for arbitrary-precision floating-point arithmetic observed · 2026-09-03

github.com/mpmath/mpmath · homepage · Python · BSD-3-Clause (permissive) observed · 2026-09-03

Health v2 · maintenance only

91/100

  • Activity 100
  • Release rhythm 74
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 19
  • age_days: 5383
  • days_rel: 172
  • days_push: 0
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

1203 stars · 217 forks observed · 2026-09-03

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

mpmath is a pure-Python library for arbitrary-precision real and complex floating-point arithmetic with no required dependencies beyond Python 3. It also provides advanced mathematical capabilities such as special functions, numerical integration, differentiation, ODE solving, and root finding at any chosen precision.

Use cases

  • compute pi or other constants to hundreds or thousands of digits
  • evaluate special functions at high precision
  • numerically integrate functions with arbitrary precision
  • replace Python float/complex and math/cmath with arbitrary-precision versions
  • solve ordinary differential equations numerically with controlled precision
  • perform numerical optimization and root finding at high precision
  • use as the arithmetic backend for SymPy or Sage

When to choose

  • you need more precision than hardware floats provide
  • you need reliable evaluation of special functions or quadrature at high precision
  • you want a dependency-free pure-Python math library
  • you are building a computer algebra system or need exact-ish numerics

When to avoid

  • you only need fast double-precision arithmetic (use NumPy or the math module)
  • you need high-performance vectorized array computation
  • you need interval or exact rational arithmetic (use other libraries)

Facets

library · maturity stable

math data-science mathematics developer-tools python cross-platform arbitrary-precision floating-point special-functions numerical-integration complex-numbers numerical-methods sympy algorithms

3 sources

Member repositories

RepositoryRoleHealth v2
mpmath/mpmathmain91

For agents

markdown · JSON · MCP: product_card(name="mpmath/mpmath")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem