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

Uploaded Source

File details

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

File metadata

  • Download URL: gmpy2-2.1.0a4.tar.gz
  • Upload date:
  • Size: 236.4 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.0a4.tar.gz
Algorithm Hash digest
SHA256 7822b3336ee022b64edd66695375bd06dfc8586a52450128c0a3cd0d9cb4b857
MD5 d24f45b47928a43fc91fd9de39c66bec
BLAKE2b-256 e16eb55de54769662e3a9c95542c195efa6918a8914e7694b28dc80edaab599f

See more details on using hashes here.

Supported by

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