[ANN] GMPY2 2.0.0 has been released

casevh at gmail.com casevh at gmail.com
Tue Mar 26 06:38:55 CET 2013


I'm pleased to announce the release of GMPY2 2.0.0. GMPY2 provides access to the GMP/MPIR, MPFR, and MPC arbitrary precision arithmetic libraries.

Highlights
----------

* Support for correctly rounded arbitrary precision real arithmetic, including trigonometric, logarithmic, exponential, and special functions.

* Support for correctly rounded arbitrary precision complex arithmetic, including trigonometric, logarithmic, and exponential functions.

* Support for contexts that control precision, rounding modes, exponent limits, and the behavior of exceptions.

* Support for various pseudoprime tests. (Based on code by David Cleaver.)

* Support for a mutable (!) integer type that supports the slice syntax to read/write individual bits. Read-only slicing is supported on the standard integer type.

Compatibility with GMPY
-----------------------

GMPY2 is the successor to GMPY. The behavior of some functions in GMPY conflicted with the expected behavior of real/complex arithmetic. In GMPY, sqrt() returned an integer result. In GMPY2, sqrt() returns a real/complex value and isqrt() returns an integer. The development versions of mpmath and Sympy support GMPY2.

Availability
------------

The home page is:

https://code.google.com/p/gmpy/

Documentation:

https://gmpy2.readthedocs.org/en/latest/


Case Van Horsen



More information about the Python-announce-list mailing list