summaryrefslogtreecommitdiff
path: root/hypot.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2005-06-06 13:39:40 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2005-06-06 13:39:40 +0000
commit3db35fa14260efe5f02bbcc99c9b7d2a87abb762 (patch)
treea110e22f1f874d50ed98a91dcba6f2556c07ef6f /hypot.c
parent47e0a8676d993472eeb00d080f396120eadfd07a (diff)
downloadmpfr-3db35fa14260efe5f02bbcc99c9b7d2a87abb762.tar.gz
Remove mpfr_add_one_ulp from MPFR library.
The function is still in the CVS. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3614 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'hypot.c')
-rw-r--r--hypot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hypot.c b/hypot.c
index d12f74f61..3075c229b 100644
--- a/hypot.c
+++ b/hypot.c
@@ -95,7 +95,7 @@ mpfr_hypot (mpfr_ptr z, mpfr_srcptr x, mpfr_srcptr y, mp_rnd_t rnd_mode)
/* If z > abs(x), then it was already rounded up; otherwise
z = abs(x), and we need to add one ulp due to y. */
if (mpfr_abs (z, x, rnd_mode) == 0)
- mpfr_add_one_ulp (z, rnd_mode);
+ mpfr_nexttoinf (z);
return 1;
}
else /* GMP_RNDZ, GMP_RNDD, GMP_RNDN */