Overview

Request 956270 accepted

- Update to 2.1.2:
* Allow GIL release for mpz/xmpz/mpq types only.
* Improve argument type processing by saving type information to
decrease the number of type check calls. Especially helpful for mpfr and mpc types.
* Avoid MPFR bug in mfr_fac_ui (gmpy2.factorial) on platforms where
long is 32-bits and argument is >= 44787929.
* Adjust test suite to reflect changes in output in MPFR 4.1.0.
* Added cmp() and cmp_abs().
* Improved compatibility with _numbers_ protocol.
* Initial support for MPFR4
+ Add nrandom()
+ grandom() now calls nrandom twice; may return different values versus MPFR3
+ Add rootn(); same as root() except different sign when taking even root of -0.0
* Thread-safe contexts are now supported. Properly integrating thread-safe contexts required
an extensive rewrite of almost all internal functions.
* MPFR and MPC are now required. It is no longer possible to build a version of gmpy2 that
only supports the GMP library.
* The function inverse() now raises an exception if the inverse does not exist.
* Context methods have been added for MPFR/MPC related functions.
* A new context option (rational_division) has been added that changes the behavior of
integer division involving mpz instances to return a rational result instead of a
floating point result.
* gmpy2 types are now registered in the numeric tower.
- Remove unzip BuildRequires, as upstream has switched to tarballs.

Loading...
Request History
Steve Kowalik's avatar

StevenK created request

- Update to 2.1.2:
* Allow GIL release for mpz/xmpz/mpq types only.
* Improve argument type processing by saving type information to
decrease the number of type check calls. Especially helpful for mpfr and mpc types.
* Avoid MPFR bug in mfr_fac_ui (gmpy2.factorial) on platforms where
long is 32-bits and argument is >= 44787929.
* Adjust test suite to reflect changes in output in MPFR 4.1.0.
* Added cmp() and cmp_abs().
* Improved compatibility with _numbers_ protocol.
* Initial support for MPFR4
+ Add nrandom()
+ grandom() now calls nrandom twice; may return different values versus MPFR3
+ Add rootn(); same as root() except different sign when taking even root of -0.0
* Thread-safe contexts are now supported. Properly integrating thread-safe contexts required
an extensive rewrite of almost all internal functions.
* MPFR and MPC are now required. It is no longer possible to build a version of gmpy2 that
only supports the GMP library.
* The function inverse() now raises an exception if the inverse does not exist.
* Context methods have been added for MPFR/MPC related functions.
* A new context option (rational_division) has been added that changes the behavior of
integer division involving mpz instances to return a rational result instead of a
floating point result.
* gmpy2 types are now registered in the numeric tower.
- Remove unzip BuildRequires, as upstream has switched to tarballs.


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar_suse added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:47"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:adi:47"


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:adi:47 got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:adi:47 got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:adi:47 got accepted.

openSUSE Build Service is sponsored by