.. _spkg_gmp:

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
----------------

-  http://gmplib.org

Type
----

standard


Version Information
-------------------

package-version.txt::

    6.2.0


Equivalent System Packages
--------------------------

conda:

.. CODE-BLOCK:: bash

    $ conda install gmpxx-devel

cygwin:

.. CODE-BLOCK:: bash

    $ apt-cyg install gmpxx-devel

Debian/Ubuntu:

.. CODE-BLOCK:: bash

    $ sudo apt-get install  gmpxx-devel

Fedora/Redhat/CentOS:

.. CODE-BLOCK:: bash

    $ sudo yum install  gmpxx-devel

freebsd:

.. CODE-BLOCK:: bash

    $ sudo pkg install gmpxx-devel

gentoo:

.. CODE-BLOCK:: bash

    $ sudo emerge gmpxx-devel

homebrew:

.. CODE-BLOCK:: bash

    $ brew install gmpxx-devel

macports:
install the following packages: gmpxx-devel
opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install gmpxx-devel

slackware:

.. CODE-BLOCK:: bash

    $ sudo slackpkg install gmpxx-devel

void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  gmpxx-devel

See https://repology.org/project/gmpxx-devel/versions

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

