From 62046052c1dc3667d6a1e863c362fbd3efa44860 Mon Sep 17 00:00:00 2001 From: pelissip Date: Thu, 3 Feb 2005 14:33:31 +0000 Subject: Rename internal functions mpfr_set_overflow in mpfr_overflow and mpfr_set_underflow in mpfr_underflow so that we can add new functions mpfr_set_underflow and mpfr_set_overflow (which set the global flags). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3269 280ebfd0-de03-0410-8827-d642c229c3f4 --- sub1sp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sub1sp.c') diff --git a/sub1sp.c b/sub1sp.c index 2345d02fb..d9825f9cc 100644 --- a/sub1sp.c +++ b/sub1sp.c @@ -1,7 +1,7 @@ /* mpfr_sub1sp -- internal function to perform a "real" substraction All the op must have the same precision -Copyright 2003, 2004 Free Software Foundation. +Copyright 2003, 2004, 2005 Free Software Foundation. Contributed by the Spaces project, INRIA Lorraine. This file is part of the MPFR Library. @@ -228,7 +228,7 @@ mpfr_sub1sp (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mp_rnd_t rnd_mode) (bx < __gmpfr_emin - 1 || (/*inexact >= 0 &&*/ mpfr_powerof2_raw (a)))) rnd_mode = GMP_RNDZ; - return mpfr_set_underflow (a, rnd_mode, MPFR_SIGN(a)); + return mpfr_underflow (a, rnd_mode, MPFR_SIGN(a)); } MPFR_SET_EXP (a, bx); /* No rounding is necessary since the result is exact */ @@ -744,7 +744,7 @@ mpfr_sub1sp (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mp_rnd_t rnd_mode) (inexact >= 0 && mpfr_powerof2_raw (a)))) rnd_mode = GMP_RNDZ; TMP_FREE(marker); - return mpfr_set_underflow (a, rnd_mode, MPFR_SIGN(a)); + return mpfr_underflow (a, rnd_mode, MPFR_SIGN(a)); } */ MPFR_SET_EXP (a, bx); -- cgit v1.2.1