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


Groups > comp.lang.python.announce > #172 > unrolled thread

ANN: GMPY2 alpha2 is available for testing

Started bycasevh <casevh@gmail.com>
First post2011-06-08 23:44 -0700
Last post2011-06-08 23:44 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python.announce


Contents

  ANN: GMPY2 alpha2 is available for testing casevh <casevh@gmail.com> - 2011-06-08 23:44 -0700

#172 — ANN: GMPY2 alpha2 is available for testing

Fromcasevh <casevh@gmail.com>
Date2011-06-08 23:44 -0700
SubjectANN: GMPY2 alpha2 is available for testing
Message-ID<mailman.100.1307733182.11593.python-announce-list@python.org>
Everyone,

I'm pleased to announce a new alpha release of GMPY2.
GMPY2 is a wrapper for GMP and MPFR multiple-precision
arithmetic libraries.

If you have an interest in multiple-precision arithmetic
or want more control over the handling of exceptional
events in floating point arithmetic, please check out
GMPY2!

GMPY2 is available for download from:

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

Experimental release
--------------------

To simplify the codebase, allow for changes in the API,
and support simultaneous installation, the development
version has been renamed to GMPY2. The following is list
of changes in GMPY2:


In 2.0.0a0
----------

 * support for a mutable integer type "xmpz"
 * removal of random number functions
 * "xmpz" supports slices for setting/clearing bits
 * some methods have been renamed (scan1 -> bit_scan1)
 * support for Python prior to 2.6 has been removed
 * support for all division modes has been added
    * ceiling - round to +Infinity
    * floor - round to -Infinity
    * truncate - round to zero
    * 2exp - division by a power of 2
 * support is_even() and is_odd()

In 2.0.0a1
----------

 * support for the MPFR floating point library

In 2.0.0a2
----------
 * context manager support from controlling MPFR
   arithmetic
 * can raise Python exceptions when exceptional events
   occur with MPFR arithmetic; for example, comparing
   against "nan" can trigger an exception
 * more complete coverage for MPFR
 * many function names were changed to be more consistent

Please report any issues!

casevh

[toc] | [standalone]


Back to top | Article view | comp.lang.python.announce


csiph-web