Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #899

[ANN] GMPY2 2.0.0 has been released

Newsgroups comp.lang.python.announce
Date 2013-03-25 22:38 -0700
Subject [ANN] GMPY2 2.0.0 has been released
From casevh@gmail.com
Message-ID <mailman.3744.1364302538.2939.python-announce-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

[ANN] GMPY2 2.0.0 has been released casevh@gmail.com - 2013-03-25 22:38 -0700

csiph-web