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

Version Information

package-version.txt:

6.2.1

Equivalent System Packages

conda:

$ conda install gmp

cygwin:

$ apt-cyg install libgmp-devel

Debian/Ubuntu:

$ sudo apt-get install  libgmp-dev

Fedora/Redhat/CentOS:

$ sudo yum install  gmp gmp-devel

freebsd:

$ sudo pkg install math/gmp

gentoo:

$ sudo emerge dev-libs/gmp

homebrew:

$ brew install gmp

macports: install the following packages: gmp

opensuse:

$ sudo zypper install gmp-devel

slackware:

$ sudo slackpkg install gmp

void:

$ sudo xbps-install  gmp-devel gmpxx-devel

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

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