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.4 has the following fixes:

  1. bit_scan0() no longer returns -1 after the last 0-bit is reached.

  2. A performance regression with mpmath and Python 3.x has been fixed.

  3. divm() no longer mutates the arguments in certain circumstances.

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.4.zip (280.5 kB view details)

Uploaded Source

Built Distributions

gmpy2-2.0.4.win-amd64-py3.4.exe (664.6 kB view details)

Uploaded Source

gmpy2-2.0.4.win-amd64-py3.3.exe (664.8 kB view details)

Uploaded Source

gmpy2-2.0.4.win-amd64-py3.2.exe (670.1 kB view details)

Uploaded Source

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

Uploaded Source

gmpy2-2.0.4.win-amd64-py2.6.exe (672.7 kB view details)

Uploaded Source

gmpy2-2.0.4.win32-py3.4.exe (551.0 kB view details)

Uploaded Source

gmpy2-2.0.4.win32-py3.3.exe (551.1 kB view details)

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

Details for the file gmpy2-2.0.4.zip.

File metadata

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

File hashes

Hashes for gmpy2-2.0.4.zip
Algorithm Hash digest
SHA256 c2b06e75d876960adabce575f01361f96884a64401740af49e8b9ef356bbbecf
MD5 b5f0e5bbb64fcd1582ddd5079c9a7b73
BLAKE2b-256 4cee0ccc9b29aba1c7185618953743de0e32df9ed6021a1abeb2fa06b20182ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gmpy2-2.0.4.win-amd64-py3.4.exe
Algorithm Hash digest
SHA256 c88d9d1a95146ccd2d5e7c6d62c31cc9191edaf3b24829bfa5978632a33da20b
MD5 7775a8fbd8fcb8313040d098b4375a9c
BLAKE2b-256 344dfb53457ae4ad28238e163e2bf1aee0b796887cb550c330896f8e8722c80e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gmpy2-2.0.4.win-amd64-py3.3.exe
Algorithm Hash digest
SHA256 868c3811e27af348586716e6848324a8ea284ca2df22b8e2f804288d962d0a91
MD5 eddab0b6e2b425e95980f6eb038c1bd2
BLAKE2b-256 888ff11bcb31bb344ef01a371c456dea862ed6c7b1c798e1a075d4e9fb34b9dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gmpy2-2.0.4.win-amd64-py3.2.exe
Algorithm Hash digest
SHA256 95fc4677167b55b1603df5ba3533c5b0cf844bc5c96f3a9c2e7e26a95a861de3
MD5 665ab6017a830a54b243e5f8d45e3b67
BLAKE2b-256 4d71bfbd2957785d68494ff4d71126a16893779b3b4c9fef15275db297c8af43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gmpy2-2.0.4.win-amd64-py2.7.exe
Algorithm Hash digest
SHA256 5e768c25a92ab042e614e1227f281ec0c1fd1cca42dbb1e8992b919384065c06
MD5 e1492ae3a4616fc13ce4b880d70536cd
BLAKE2b-256 d878f5ba170884ade2e58b67591199c360f196d785ecae644b74c51e16760ff3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gmpy2-2.0.4.win-amd64-py2.6.exe
Algorithm Hash digest
SHA256 cb478bc06c5b35ee4744812891316a2ac0373b7211a93de0fb81cdb6237fed4f
MD5 e6c0225e7dc76d996b413d7caad3c51f
BLAKE2b-256 5af1e1ac0a284091c5f67076b7d44288774e332d107ff8531e0bb90bb44ce3ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gmpy2-2.0.4.win32-py3.4.exe
Algorithm Hash digest
SHA256 5b4eebd35b27bec16774ba82da9c3ef942627754295af83e6338016290e39f61
MD5 50de62cc7666e751b4dffb579f04ff23
BLAKE2b-256 511780611387b18de90b7899f97aa5dd1ea3389863725b29fb7fe25d10f153dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gmpy2-2.0.4.win32-py3.3.exe
Algorithm Hash digest
SHA256 1d8d39ef2ac9be749da13577efeb44907acd3959d639f133996d995e53b1d104
MD5 71b3ee2e06e2aa4e404887280f9cdcec
BLAKE2b-256 3bad0e2d56de4bf98f689734bae46ce80c9695f64dc1d2d3cff0a27da8e4a075

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gmpy2-2.0.4.win32-py3.2.exe
Algorithm Hash digest
SHA256 d6239c8e1ad5f1284a4471298401b670698cfb25e97cf56935a2372513a166f2
MD5 da896f6812ce3c77da11330690a0daa5
BLAKE2b-256 9cd50145d0f781f51c0d2763d97d3c1f95b8648a4fdb76115941eed8018c83d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gmpy2-2.0.4.win32-py2.7.exe
Algorithm Hash digest
SHA256 92436af3c241ba138da560575900b9eada9e6705c3a24042a9d6b8930aee5ed4
MD5 690e99ae6aa759d146fe55020fca6faf
BLAKE2b-256 73fc42286e4bfe0258f2a4a6b255ec0610c549dc2361b129c0efdb90b8e42d6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gmpy2-2.0.4.win32-py2.6.exe
Algorithm Hash digest
SHA256 c763fce1fce9aaf042e2c73d44aa3f5e8910e6ade8f6a5f98ff2a4f83b5bddc6
MD5 c518be56048a9d9ca61f61628735c784
BLAKE2b-256 65b4183dc7c4af647951f86783fc6654c578e37bfdd2ef57dcab65d02677a882

See more details on using hashes here.

Supported by

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