From 0d6c72a5bcc72cb45be10a9b15a05feaee97f19f Mon Sep 17 00:00:00 2001 From: vlefevre Date: Tue, 9 Feb 2016 01:17:01 +0000 Subject: [src/eint.c] Code simplification. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10000 280ebfd0-de03-0410-8827-d642c229c3f4 --- src/eint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/eint.c') 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); -- cgit v1.2.1