Fixed a bug in mpir_invert_pi2 triggered by the MPFR test code.

This commit is contained in:
William Hart 2014-06-08 21:30:32 +01:00
parent 80b3ab5ae2
commit 0bc525c9a3

View File

@ -2861,7 +2861,7 @@ do { \
} \
sub_ddmmss(_p, _t0, _p, _t0, (d1), (d0)); \
} \
if (UNLIKELY(_p <= 2)) \
if (UNLIKELY(-_p <= 2)) \
__mpir_invert_pi2(d1inv, d1, d0); \
else \
d1inv = _v; \