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.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
Hashes for gmpy2-2.0.7-cp34-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b02fee38f2e9408a3f132efac16ec4c1db59e28c3677200af530929202ff0702 |
|
MD5 | f4b18313e394d530dc5113acc6dcb72f |
|
BLAKE2b-256 | 6970a16f34b3ed1ea6992b7b937c094f7c58a90a10ef17d836446eb692a467e1 |
Hashes for gmpy2-2.0.7-cp33-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ecd945854647f4744c786f4da798fa1f80eeb8d39eb37a5a99d442174007c3a |
|
MD5 | 55a5d2fd11d00bfefb9ceb7b89072077 |
|
BLAKE2b-256 | fc77a423df37662f4093d6634f4d22755729c77f15192378db06098efc25fa94 |
Hashes for gmpy2-2.0.7-cp32-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d856625d75a553e0a89a9cb6c668166c1f7de99ca040915b04cea9976b012aa3 |
|
MD5 | 7af8339360da462c5ac0b0456ae043a2 |
|
BLAKE2b-256 | 5f683a55300d1dd62a8e3317ceff5308b66e8eca83750ca815be42e00406ab6f |
Hashes for gmpy2-2.0.7-cp27-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b22fd64b917a8c3719570ece9d6b1142190161d76e15422498ef7c63a5cb1e6f |
|
MD5 | 6e8877e7b55702256dabe93806dad7ca |
|
BLAKE2b-256 | 13110dc219de960ba6c6db3cdeb00719ae9138e2f6073c0e994de6d07319b30e |
Hashes for gmpy2-2.0.7-cp26-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4b672f5072291af2860015f4dd3eb464fb6fb433f74adb66f07b01235f7b1d5 |
|
MD5 | a19e76aa3d47b01c84c792382424cb20 |
|
BLAKE2b-256 | 743b7551df61607e9664e457527008cb9358149b2c0422c4e45c9655519d71a2 |