Skip to main content

gmpy2 interface to GMP/MPIR, MPFR, and MPC for Python 2.6+ and 3.4+

Project description

gmpy2 is an optimized, C-coded Python extension module that supports fast multiple-precision arithmetic. gmpy2 is based on the original gmpy module. gmpy2 adds support for correctly rounded multiple-precision real arithmetic (using the MPFR library) and complex arithmetic (using the MPC library).

The gmpy2 2.0.x series is a stable version that is only receiving bug fixes. The main development branch (2.1.x) was extensively refactored. The most significant changes are support for thread-safe contexts and context methods.

gmpy2 is available at https://pypi.python.org/pypi/gmpy2/

Documentation is available at https://gmpy2.readthedocs.io/en/latest/

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

gmpy2-2.1.0a2.tar.gz (236.0 kB view details)

Uploaded Source

File details

Details for the file gmpy2-2.1.0a2.tar.gz.

File metadata

  • Download URL: gmpy2-2.1.0a2.tar.gz
  • Upload date:
  • Size: 236.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gmpy2-2.1.0a2.tar.gz
Algorithm Hash digest
SHA256 3e3c097c8b5e25fe103f09f72579bc96f06f35ac0d8577c2050cb969e7fead05
MD5 e5f852831c81b3806ccf745c5d315034
BLAKE2b-256 d0d0544415a90cab71ea12baa025ed2b2f8acdb3635a11db28da4fc96387e006

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