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 details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

Details for the file gmpy2-2.0.5.zip.

File metadata

  • Download URL: gmpy2-2.0.5.zip
  • Upload date:
  • Size: 280.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gmpy2-2.0.5.zip
Algorithm Hash digest
SHA256 014ebfb901fde1d823bfa6bdd70abd79adff36c0473d678ea79664be10d4e620
MD5 95f008bcab6372164358123f43e3f490
BLAKE2b-256 9132148145e78b54620ec662b97aadc4654c53ccb6b5f8955e45f5f8304b7a55

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.5.win-amd64-py3.4.exe.

File metadata

File hashes

Hashes for gmpy2-2.0.5.win-amd64-py3.4.exe
Algorithm Hash digest
SHA256 8856cda824e63470792f98377444e8e47372548fd716e4e61bbd1ced0b525d34
MD5 383e38806eb10e53fe173e799dfecdbc
BLAKE2b-256 11dbde96891465484d1281537036b1ec0e47684bd1f684ad17cd6f7375603b44

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.5.win-amd64-py3.3.exe.

File metadata

File hashes

Hashes for gmpy2-2.0.5.win-amd64-py3.3.exe
Algorithm Hash digest
SHA256 058cc85ebd97a3653c26521308afc8bfcbf3afc46e4e093512cc1be5c3c29c88
MD5 87b5dc4141ccc4bfa25a58248f1783b7
BLAKE2b-256 a851441a54967c5f01180dd482d6fd44afd94f42b0973b51ff89912a4da9f379

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.5.win-amd64-py3.2.exe.

File metadata

File hashes

Hashes for gmpy2-2.0.5.win-amd64-py3.2.exe
Algorithm Hash digest
SHA256 4ae9c39db584313db72af95a2f91c36148b54cc4037463d82b226cbcc87b6ed9
MD5 b972c8aa7fb0b77f422af406f418c0cc
BLAKE2b-256 036852770ae639edf3d4aaf7ba10d08e7fcd174ca3f1c2c03e2e82998a73c486

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.5.win-amd64-py2.7.exe.

File metadata

File hashes

Hashes for gmpy2-2.0.5.win-amd64-py2.7.exe
Algorithm Hash digest
SHA256 c66c194b7831697941261051591a65d3c942db27e21b327f9c8e600ebe236598
MD5 bb092fc91d778c7104e2225b5ec9377d
BLAKE2b-256 31f2b4e98b84357937101cdadbd6baf41a4c7be41c837125552bca0cb2ba83b6

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.5.win-amd64-py2.6.exe.

File metadata

File hashes

Hashes for gmpy2-2.0.5.win-amd64-py2.6.exe
Algorithm Hash digest
SHA256 b87e749e37872d86bc14a4bf8dfb49c073988590100ebe9714d1f39cf0464e11
MD5 3e26e7711aadf8e3b62c454228c83be9
BLAKE2b-256 9d3f9948b215da7acefc40dab21abf2e2e743ad2adda173ca3a84d8f145c30e4

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.5.win32-py3.4.exe.

File metadata

  • Download URL: gmpy2-2.0.5.win32-py3.4.exe
  • Upload date:
  • Size: 551.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gmpy2-2.0.5.win32-py3.4.exe
Algorithm Hash digest
SHA256 b288b83ea88e696c2798cc08dda95232460d9a1dc72385ceb05286ec45dee7ab
MD5 310653777c640d3d3ef27bcdadf5688f
BLAKE2b-256 3b026a2bafa4d961d0546fb962d699222715bace04c471e9e3b906ac592e8b25

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.5.win32-py3.3.exe.

File metadata

  • Download URL: gmpy2-2.0.5.win32-py3.3.exe
  • Upload date:
  • Size: 551.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gmpy2-2.0.5.win32-py3.3.exe
Algorithm Hash digest
SHA256 d12ca2ffcfdbca71a762e1aaf624e3bc6aae4e0f9fbb968baa077c3de59db0bc
MD5 9333c98205f6bbb64e0be4875373e1ab
BLAKE2b-256 d7208a399340a861c06afaa4de5dab9aca56b07fc4a93de92fe7f0c850dc06a7

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.5.win32-py3.2.exe.

File metadata

  • Download URL: gmpy2-2.0.5.win32-py3.2.exe
  • Upload date:
  • Size: 555.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gmpy2-2.0.5.win32-py3.2.exe
Algorithm Hash digest
SHA256 ea744db2b64dc13d43358114beab64b339d01a53c318d8afd5e201076e10926f
MD5 12bf46d01936ba3b10939ef633d84c82
BLAKE2b-256 cbde4ea023654d2f1d73377a2062891b00c5a8ada599cf71dfe7e02b2e397a63

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.5.win32-py2.7.exe.

File metadata

  • Download URL: gmpy2-2.0.5.win32-py2.7.exe
  • Upload date:
  • Size: 557.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gmpy2-2.0.5.win32-py2.7.exe
Algorithm Hash digest
SHA256 277707cbc2cd6099a087143ad1caa3360c53a7925fd37112488a1273d5461fdc
MD5 dc82cb3d0ea2ec6b2d78ba9ebba9e360
BLAKE2b-256 23f22ba6b61aa954a3b1d54b491dea07132bb9e9a292b394ba15cb59e469bc62

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.5.win32-py2.6.exe.

File metadata

  • Download URL: gmpy2-2.0.5.win32-py2.6.exe
  • Upload date:
  • Size: 557.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gmpy2-2.0.5.win32-py2.6.exe
Algorithm Hash digest
SHA256 a5d5c0d07d207481f786478adfd05321dad77fc7244b902d59d0e61408d545ce
MD5 8a07f9cafc813555d3df99a347c2fd54
BLAKE2b-256 bd594f4e81e10dcb106a91781507ed76e2a0ed45c694efd82446a256e58d8a15

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