Skip to main content

MPIR/GMP 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.15.zip (143.6 kB view details)

Uploaded Source

File details

Details for the file gmpy-1.15.zip.

File metadata

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

File hashes

Hashes for gmpy-1.15.zip
Algorithm Hash digest
SHA256 6adcffaa2cc0d339b5f69e8891b06f0299a14d90249dd89c37edc82cc4fff24f
MD5 65b6f19cc414c936e82d189f9b3e4bd2
BLAKE2b-256 bfca12f1fa2159a1aea4b0d6d73004906e4b92c84e24118234b1922a5eca624c

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