From 734c0a144b04e2cae4e67b394010e3f6e3cadecc Mon Sep 17 00:00:00 2001 From: pelissip Date: Mon, 27 Oct 2003 15:15:04 +0000 Subject: Change the internal format of MPFR: ZERO, INF and NAN have special values of exp. Rename MPFR_ESIZE in MPFR_LIMB_SIZE. Rename MPFR_ABSZISE in MPFR_ALLOC_SIZE. Rename MPFR_INIT in MPFR_TMP_INIT (INIT1 too). "mpfr.h" includes if GMP isn't detected. Change the way of detecting stdio.h (To check). Use mpfr namespace for new definitions in "mpfr.h". git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2524 280ebfd0-de03-0410-8827-d642c229c3f4 --- div.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'div.c') diff --git a/div.c b/div.c index 9c0e119e3..aaa8f176a 100644 --- a/div.c +++ b/div.c @@ -117,8 +117,8 @@ mpfr_div (mpfr_ptr q, mpfr_srcptr u, mpfr_srcptr v, mp_rnd_t rnd_mode) vp = MPFR_MANT(v); TMP_MARK (marker); - usize = MPFR_ESIZE(u); - vsize = MPFR_ESIZE(v); + usize = MPFR_LIMB_SIZE(u); + vsize = MPFR_LIMB_SIZE(v); /************************************************************************** * * @@ -355,8 +355,8 @@ mpfr_div (mpfr_ptr q, mpfr_srcptr u, mpfr_srcptr v, mp_rnd_t rnd_mode) cc = mpfr_round_raw_generic(qp, qp, err, (sign_quotient == -1 ? 1 : 0), MPFR_PREC(q), rnd_mode, &inex, 1); - qp += qsize - MPFR_ESIZE(q); /* 0 or 1 */ - qsize = MPFR_ESIZE(q); + qp += qsize - MPFR_LIMB_SIZE(q); /* 0 or 1 */ + qsize = MPFR_LIMB_SIZE(q); /* At that point, either we were able to round from the beginning, -- cgit v1.2.1