Skip to main content

GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3.x

Project description

gmpy2 is a C-coded Python extension module that supports multiple-precision arithmetic. gmpy2 is the successor to the original gmpy module. The gmpy module only supported the GMP multiple-precision library. gmpy2 adds support for the MPFR (correctly rounded real floating-point arithmetic) and MPC (correctly rounded complex floating-point arithmetic) libraries. gmpy2 also updates the API and naming conventions to be more consistent and support the additional functionality.

Release 2.0.5 has the following fixes:

  1. Fix crash for repr(mpc) for precision >325 bits.

  2. Fix bug in qdiv() when denominator is a Python long larger than a C long.

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.0.5.zip (280.6 kB view hashes)

Uploaded Source

Built Distributions

gmpy2-2.0.5.win-amd64-py3.4.exe (664.8 kB view hashes)

Uploaded Source

gmpy2-2.0.5.win-amd64-py3.3.exe (664.9 kB view hashes)

Uploaded Source

gmpy2-2.0.5.win-amd64-py3.2.exe (669.9 kB view hashes)

Uploaded Source

gmpy2-2.0.5.win-amd64-py2.7.exe (671.8 kB view hashes)

Uploaded Source

gmpy2-2.0.5.win-amd64-py2.6.exe (672.9 kB view hashes)

Uploaded Source

gmpy2-2.0.5.win32-py3.4.exe (551.1 kB view hashes)

Uploaded Source

gmpy2-2.0.5.win32-py3.3.exe (551.2 kB view hashes)

Uploaded Source

gmpy2-2.0.5.win32-py3.2.exe (555.0 kB view hashes)

Uploaded Source

gmpy2-2.0.5.win32-py2.7.exe (557.0 kB view hashes)

Uploaded Source

gmpy2-2.0.5.win32-py2.6.exe (557.8 kB view hashes)

Uploaded Source

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