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. In addition to supporting GMP or MPIR for multiple-precision integer and rational arithmetic, gmpy2 adds support for the MPFR (correctly rounded real floating-point arithmetic) and MPC (correctly rounded complex floating-point arithmetic) libraries.
Release 2.0.8 has the following fixes:
Fix reference counting bug in left shift and right shift.
Fix crash when converting string to mpfr and subnormalization is active.
Fix int(mpfr) for negative values.
Fix data corruption bug when using pack() on a list that contains instances of the mpz type.
Release 2.0.7 has the following fixes:
math.floor(gmpy2.mpfr(‘inf’)) no longer segfaults.
The “wheel” format is used for the Windows binaries.
Release 2.0.6 has the following fixes:
setup.py no longer changes the meaning of –prefix.
Using the ‘X’ format code now works properly (convert to hex using upper-case letters).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file gmpy2-2.0.8.zip
.
File metadata
- Download URL: gmpy2-2.0.8.zip
- Upload date:
- Size: 280.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd233e3288b90f21b0bb384bcc7a7e73557bb112ccf0032ad52aa614eb373d3f |
|
MD5 | 56d40bddcf8f22be0a36d60f764f3241 |
|
BLAKE2b-256 | 90f49a2e384b325b69bc5827b9a6510a8fb4a51698c915c06a3f25a86458892a |
File details
Details for the file gmpy2-2.0.8.win-amd64-py2.7.exe
.
File metadata
- Download URL: gmpy2-2.0.8.win-amd64-py2.7.exe
- Upload date:
- Size: 673.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6343b5836f66281934a9ed23d786008385fdc2433288bb1a626daea57aebd04 |
|
MD5 | 0dfbae4c8d337f2cd317cbb3dd829e10 |
|
BLAKE2b-256 | 39f0a8e7ab91f533b4590ed1e25701a65712d0f493f2c8a3a8a872b805696d24 |
File details
Details for the file gmpy2-2.0.8-cp34-none-win_amd64.whl
.
File metadata
- Download URL: gmpy2-2.0.8-cp34-none-win_amd64.whl
- Upload date:
- Size: 444.2 kB
- Tags: CPython 3.4, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b53e8da0bcac6fbd509bc6a9174730e00ec8eaf43a5e43154985736bdae4b1f |
|
MD5 | c2ef0deaa0947abfc0a246989e25a592 |
|
BLAKE2b-256 | 3d7a8000cf69ffe4a7e367a88364b49fa14900ee5f9d9274da07f29bb6d6475c |
File details
Details for the file gmpy2-2.0.8-cp34-none-win32.whl
.
File metadata
- Download URL: gmpy2-2.0.8-cp34-none-win32.whl
- Upload date:
- Size: 362.2 kB
- Tags: CPython 3.4, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db4b58b5b2455118bf3fa56b8fcc82e4ef1b138a6b81f92ca7ef6f2f88711131 |
|
MD5 | b5861d5bbc0d2ca43720fa76335732ba |
|
BLAKE2b-256 | b4229e9bfbc8d3197c47e45615934b1e7926c54ab62da3994c7aeb6ed1debc7e |
File details
Details for the file gmpy2-2.0.8-cp33-none-win_amd64.whl
.
File metadata
- Download URL: gmpy2-2.0.8-cp33-none-win_amd64.whl
- Upload date:
- Size: 444.4 kB
- Tags: CPython 3.3, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 288510251de747ac26c378ff5c1ebc9468323c10e511f470a41847d4ecd05f54 |
|
MD5 | ae32b4add4f2c48dbd301ad3abf7be44 |
|
BLAKE2b-256 | 31e128cb5ed0bb564239fe83a3436efdbd25484544233f15c452ede0ee9d7e7a |
File details
Details for the file gmpy2-2.0.8-cp33-none-win32.whl
.
File metadata
- Download URL: gmpy2-2.0.8-cp33-none-win32.whl
- Upload date:
- Size: 362.5 kB
- Tags: CPython 3.3, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92f980c4bf5035e1eea4634817ec8a9a8d5b541bbec9f1a41fd4bb405b1bb81c |
|
MD5 | 8cb3f233021a92903d0eec1ed48581e2 |
|
BLAKE2b-256 | d81fae92057d8872040bbda57d72a269b0e3870e05804833752f96ae46f38b18 |
File details
Details for the file gmpy2-2.0.8-cp32-none-win_amd64.whl
.
File metadata
- Download URL: gmpy2-2.0.8-cp32-none-win_amd64.whl
- Upload date:
- Size: 447.2 kB
- Tags: CPython 3.2, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc116f425cc44b9b3835173ba5607be3c5a5093d23b25a6e0b2b1c42177fcc75 |
|
MD5 | f6859f97c384c1cc4f1e40fb3ff548e0 |
|
BLAKE2b-256 | 1f7d2d0b1ce77ac00fcae388767a4cbe602eaea0a0467cc00e93068a8b194ec0 |
File details
Details for the file gmpy2-2.0.8-cp27-none-win32.whl
.
File metadata
- Download URL: gmpy2-2.0.8-cp27-none-win32.whl
- Upload date:
- Size: 363.7 kB
- Tags: CPython 2.7, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e70435412e605f0c685b5ab524b969f3fdcdf076d6116290ad8d1329cfded496 |
|
MD5 | 483e9afe543aa840cf3c9a8aea9f2954 |
|
BLAKE2b-256 | 0babd029a41085cd9faeef3add2be9542345d74d5603760f3a9f54759483260a |
File details
Details for the file gmpy2-2.0.8-cp26-none-win_amd64.whl
.
File metadata
- Download URL: gmpy2-2.0.8-cp26-none-win_amd64.whl
- Upload date:
- Size: 451.3 kB
- Tags: CPython 2.6, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc959314c8a378c927e2b7a41baccf8ad2a9fcf5c7afe06a84a4a47253ed7060 |
|
MD5 | c8860e0b32cecb1e0d80f8876abc7df0 |
|
BLAKE2b-256 | 1abe06576f1f5a2767fe2d3b9b1f7e36d4f5da0bbc921c846e62d2f31537efab |
File details
Details for the file gmpy2-2.0.8-cp26-none-win32.whl
.
File metadata
- Download URL: gmpy2-2.0.8-cp26-none-win32.whl
- Upload date:
- Size: 364.3 kB
- Tags: CPython 2.6, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e576baad2ee059a38f9c0a79c2857c22c8d084765ee2fcc826aff43f9edcb65 |
|
MD5 | 2693313d6e647121ba73c5a8d2595768 |
|
BLAKE2b-256 | d5e8f04bb656a670917f7bb0faa0da3dc18f500ef924b00d3f571c2390d982b1 |