diff options
-rw-r--r-- | src/eint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eint.c b/src/eint.c index 4d288454a..a32d71a49 100644 --- a/src/eint.c +++ b/src/eint.c @@ -340,7 +340,7 @@ mpfr_eint (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd) MPFR_ZIV_FREE (loop); /* Free the ZivLoop Controller */ /* Set y to the computed value */ - inex = (MPFR_IS_POS(x)) ? mpfr_set (y, tmp, rnd) : mpfr_neg (y, tmp, rnd); + inex = mpfr_set4 (y, tmp, rnd, MPFR_SIGN (x) * MPFR_SIGN (tmp)); mpfr_clear (tmp); mpfr_clear (ump); |