资 源 简 介
GMPY and GMPY2 are C-coded Python extension modules that support fast multiple-precision arithmetic.
GMPY only supports the GMP library and provides fast multiple-precision integer and rational arithmetic. The limited mpf type from GMP is also supported. GMPY is no longer being maintained.
GMPY2 supports the GMP library for integer and rational arithmetic but GMPY2 adds support for multiple-precision real and complex arithmetic as provided by the MPFR and MPC libraries. GMPY2 is being actively developed.
Downloads have been moved to PyPI !
News
January 12, 2015
GMPY2 2.0.5 has been released. The following bugs were fixed:
Fix crash for repr(mpc) for precision >325 bits.
Fix bug in qdiv() when denominator is a Python long larger than a C long.
Version 2.0.5 is highly recommended upgrade since the bugs can crash or corrupt t