Skip to main content

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.

Metadata

Release files for gmpy2 2.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gmpy2 2.0.4
File Size Uploaded
gmpy2-2.0.4.zip 280.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for gmpy2 2.0.4
File
gmpy2-2.0.4.win-amd64-py3.4.exe Details
gmpy2-2.0.4.win-amd64-py3.3.exe Details
gmpy2-2.0.4.win-amd64-py3.2.exe Details
gmpy2-2.0.4.win-amd64-py2.7.exe Details
gmpy2-2.0.4.win-amd64-py2.6.exe Details
gmpy2-2.0.4.win32-py3.4.exe Details
gmpy2-2.0.4.win32-py3.3.exe Details
gmpy2-2.0.4.win32-py3.2.exe Details
gmpy2-2.0.4.win32-py2.7.exe Details
gmpy2-2.0.4.win32-py2.6.exe Details

Total release size: 6.4 MB

Release files / gmpy2-2.0.4.zip

Download URL gmpy2-2.0.4.zip
Size 280.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c2b06e75d876960adabce575f01361f96884a64401740af49e8b9ef356bbbecf
BLAKE2b-256 checksum
How to use checksums
4cee0ccc9b29aba1c7185618953743de0e32df9ed6021a1abeb2fa06b20182ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / gmpy2-2.0.4.win-amd64-py3.4.exe

Download URL gmpy2-2.0.4.win-amd64-py3.4.exe
Size 664.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c88d9d1a95146ccd2d5e7c6d62c31cc9191edaf3b24829bfa5978632a33da20b
BLAKE2b-256 checksum
How to use checksums
344dfb53457ae4ad28238e163e2bf1aee0b796887cb550c330896f8e8722c80e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / gmpy2-2.0.4.win-amd64-py3.3.exe

Download URL gmpy2-2.0.4.win-amd64-py3.3.exe
Size 664.8 kB
Tags Source
SHA-256 checksum
How to use checksums
868c3811e27af348586716e6848324a8ea284ca2df22b8e2f804288d962d0a91
BLAKE2b-256 checksum
How to use checksums
888ff11bcb31bb344ef01a371c456dea862ed6c7b1c798e1a075d4e9fb34b9dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / gmpy2-2.0.4.win-amd64-py3.2.exe

Download URL gmpy2-2.0.4.win-amd64-py3.2.exe
Size 670.1 kB
Tags Source
SHA-256 checksum
How to use checksums
95fc4677167b55b1603df5ba3533c5b0cf844bc5c96f3a9c2e7e26a95a861de3
BLAKE2b-256 checksum
How to use checksums
4d71bfbd2957785d68494ff4d71126a16893779b3b4c9fef15275db297c8af43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / gmpy2-2.0.4.win-amd64-py2.7.exe

Download URL gmpy2-2.0.4.win-amd64-py2.7.exe
Size 671.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5e768c25a92ab042e614e1227f281ec0c1fd1cca42dbb1e8992b919384065c06
BLAKE2b-256 checksum
How to use checksums
d878f5ba170884ade2e58b67591199c360f196d785ecae644b74c51e16760ff3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / gmpy2-2.0.4.win-amd64-py2.6.exe

Download URL gmpy2-2.0.4.win-amd64-py2.6.exe
Size 672.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cb478bc06c5b35ee4744812891316a2ac0373b7211a93de0fb81cdb6237fed4f
BLAKE2b-256 checksum
How to use checksums
5af1e1ac0a284091c5f67076b7d44288774e332d107ff8531e0bb90bb44ce3ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / gmpy2-2.0.4.win32-py3.4.exe

Download URL gmpy2-2.0.4.win32-py3.4.exe
Size 551.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5b4eebd35b27bec16774ba82da9c3ef942627754295af83e6338016290e39f61
BLAKE2b-256 checksum
How to use checksums
511780611387b18de90b7899f97aa5dd1ea3389863725b29fb7fe25d10f153dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / gmpy2-2.0.4.win32-py3.3.exe

Download URL gmpy2-2.0.4.win32-py3.3.exe
Size 551.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1d8d39ef2ac9be749da13577efeb44907acd3959d639f133996d995e53b1d104
BLAKE2b-256 checksum
How to use checksums
3bad0e2d56de4bf98f689734bae46ce80c9695f64dc1d2d3cff0a27da8e4a075
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / gmpy2-2.0.4.win32-py3.2.exe

Download URL gmpy2-2.0.4.win32-py3.2.exe
Size 555.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d6239c8e1ad5f1284a4471298401b670698cfb25e97cf56935a2372513a166f2
BLAKE2b-256 checksum
How to use checksums
9cd50145d0f781f51c0d2763d97d3c1f95b8648a4fdb76115941eed8018c83d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / gmpy2-2.0.4.win32-py2.7.exe

Download URL gmpy2-2.0.4.win32-py2.7.exe
Size 557.0 kB
Tags Source
SHA-256 checksum
How to use checksums
92436af3c241ba138da560575900b9eada9e6705c3a24042a9d6b8930aee5ed4
BLAKE2b-256 checksum
How to use checksums
73fc42286e4bfe0258f2a4a6b255ec0610c549dc2361b129c0efdb90b8e42d6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / gmpy2-2.0.4.win32-py2.6.exe

Download URL gmpy2-2.0.4.win32-py2.6.exe
Size 557.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c763fce1fce9aaf042e2c73d44aa3f5e8910e6ade8f6a5f98ff2a4f83b5bddc6
BLAKE2b-256 checksum
How to use checksums
65b4183dc7c4af647951f86783fc6654c578e37bfdd2ef57dcab65d02677a882
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

2.3.1

78 release files

2.2.2

70 release files

2.2.1

49 release files

2.1.5

51 release files

2.1.4

51 release files

2.1.1

33 release files

2.1.0

33 release files

2.0.8

10 release files

2.0.7

11 release files

2.0.5

11 release files

This release

2.0.4 This release

11 release files

2.0.3

9 release files

2.0.2

9 release files

2.0.1

9 release files

2.0.0

2.0.0b4

2.0.0b3

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page