gmp: Library for arbitrary precision arithmetic#

Description#

GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating-point numbers. There is no practical limit to the precision except the ones implied by the available memory in the machine GMP runs on. GMP has a rich set of functions, and the functions have a regular interface.

License#

  • LGPL V3

Upstream Contact#

Type#

standard

Dependencies#

Version Information#

package-version.txt:

6.3.0

src/pyproject.toml:

gmpy2 ~=2.1.b999

Equivalent System Packages#

$ apk add gmp-dev
$ conda install gmp
$ apt-cyg install libgmp-devel
$ sudo apt-get install libgmp-dev
$ sudo yum install gmp gmp-devel
$ sudo pkg install math/gmp
$ sudo emerge dev-libs/gmp
$ brew install gmp
$ sudo port install gmp
$ sudo zypper install gmp-devel

install the following packages: libgmp

$ sudo slackpkg install gmp
$ sudo xbps-install gmp-devel gmpxx-devel

See https://repology.org/project/gmp/versions

If the system package is installed, ./configure will check if it can be used.