mpmath: Pure Python library for multiprecision floating-point arithmetic

Description

Mpmath is a pure-Python library for multiprecision floating-point arithmetic. It provides an extensive set of transcendental functions, unlimited exponent sizes, complex numbers, interval arithmetic, numerical integration and differentiation, root-finding, linear algebra, and much more. Almost any calculation can be performed just as well at 10-digit or 1000-digit precision, and in many cases mpmath implements asymptotically fast algorithms that scale well for extremely high precision work. If available, mpmath will (optionally) use gmpy to speed up high precision operations.

Upstream Contact

Dependencies

  • Python

Type

standard

Version Information

package-version.txt:

1.1.0

install-requires.txt:

mpmath >=1.1.0

Equivalent System Packages

conda:

$ conda install mpmath python:mpmath

See https://repology.org/project/mpmath/versions, https://repology.org/project/python:mpmath/versions

However, these system packages will not be used for building Sage because using Python site-packages is not supported by the Sage distribution; see https://trac.sagemath.org/ticket/29023