Skip to main content

GMP or MPIR interface to Python 2.4+ and 3.x

Project description

General MultiPrecision arithmetic for Python

gmpy is a C-coded Python extension module that provides access to the GMP (or MPIR) multiple-precision arithmetic library.

gmpy 1.17 is the final release of the 1.x series. No further updates are planned. All further development is occurring in the 2.x series, also known as gmpy2. Please see https://pypi.python.org/pypi/gmpy2/ for the latest 2.x releases.

GMPY allows creation of multiprecision integer (mpz), float (mpf),and rational (mpq) numbers, conversion between them and to/from Python numbers/strings, arithmetic, bitwise, and some other higher-level mathematical operations.

Version 1.17 only fixes compatibility with Python 3.x and other C extensions that use gmpy.

Version 1.16 fixes a minor issue with the new Decimal type in Python 3.3.

Version 1.15 was the last significant release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
gmpy-1.17.zip (147.6 kB) Copy SHA256 hash SHA256 Source None Jul 28, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page