skip to navigation
skip to content

gmpy2 2.0.8

GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3.x

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:

  1. Fix reference counting bug in left shift and right shift.
  2. Fix crash when converting string to mpfr and subnormalization is active.
  3. Fix int(mpfr) for negative values.
  4. 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:

  1. math.floor(gmpy2.mpfr(‘inf’)) no longer segfaults.
  2. The “wheel” format is used for the Windows binaries.

Release 2.0.6 has the following fixes:

  1. no longer changes the meaning of –prefix.
  2. Using the ‘X’ format code now works properly (convert to hex using upper-case letters).
File Type Py Version Uploaded on Size
gmpy2-2.0.8-cp26-none-win32.whl (md5) Python Wheel 2.6 2016-06-26 355KB
gmpy2-2.0.8-cp26-none-win_amd64.whl (md5) Python Wheel 2.6 2016-06-26 440KB
gmpy2-2.0.8-cp27-none-win32.whl (md5) Python Wheel 2.7 2016-06-26 355KB
gmpy2-2.0.8-cp32-none-win_amd64.whl (md5) Python Wheel 3.2 2016-06-26 436KB
gmpy2-2.0.8-cp33-none-win32.whl (md5) Python Wheel 3.3 2016-06-26 354KB
gmpy2-2.0.8-cp33-none-win_amd64.whl (md5) Python Wheel 3.3 2016-06-26 433KB
gmpy2-2.0.8-cp34-none-win32.whl (md5) Python Wheel 3.4 2016-06-26 353KB
gmpy2-2.0.8-cp34-none-win_amd64.whl (md5) Python Wheel 3.4 2016-06-26 433KB (md5) MS Windows installer 2.7 2016-06-26 657KB (md5) Source 2016-06-26 273KB