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.

Source Distribution

gmpy-1.16.zip (143.8 kB view details)

Uploaded Source

File details

Details for the file gmpy-1.16.zip.

File metadata

  • Download URL: gmpy-1.16.zip
  • Upload date:
  • Size: 143.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gmpy-1.16.zip
Algorithm Hash digest
SHA256 58eca10dfcbb68c537acf6815b9904a813da0df90936ffdd7b3cc7028e785fad
MD5 79ddb7049426ef751accd4291f20bfd2
BLAKE2b-256 8e006884dd3829caa131f3b3fd705d2e03591a07dba2a6a304a186b5f4605563

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page