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.0a3.tar.gz (233.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: gmpy2-2.1.0a3.tar.gz
  • Upload date:
  • Size: 233.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.6

File hashes

Hashes for gmpy2-2.1.0a3.tar.gz
Algorithm Hash digest
SHA256 7d68595dab26025d07682d0c27cfbe9ca75c5517c9c36a97494213e8b98e100c
MD5 ca9c9e31f87b30f27df385b04f9b34fb
BLAKE2b-256 46723d7b689c618cdbc5353231d0cac82cb49c286f587c333e471607e4fb9328

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