diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-06-06 13:39:40 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-06-06 13:39:40 +0000 |
commit | 3db35fa14260efe5f02bbcc99c9b7d2a87abb762 (patch) | |
tree | a110e22f1f874d50ed98a91dcba6f2556c07ef6f /tests/tdiv.c | |
parent | 47e0a8676d993472eeb00d080f396120eadfd07a (diff) | |
download | mpfr-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 'tests/tdiv.c')
-rw-r--r-- | tests/tdiv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tdiv.c b/tests/tdiv.c index 6015d384f..3162f96c4 100644 --- a/tests/tdiv.c +++ b/tests/tdiv.c @@ -418,7 +418,7 @@ check_lowr (void) } else if (c == 2) { - mpfr_add_one_ulp(z, GMP_RNDN); + mpfr_nexttoinf (z); if (mpfr_cmp(z2, z)) { printf ("Error in mpfr_div [even rnd?] rnd=GMP_RNDN\n"); @@ -465,7 +465,7 @@ check_lowr (void) while (mpfr_cmp_ui (tmp, 0) == 0); mpfr_mul(x, z, tmp, GMP_RNDN); mpfr_set(y, tmp, GMP_RNDD); - mpfr_add_one_ulp(x, GMP_RNDN); + mpfr_nexttoinf (x); c = test_div(z2, x, y, GMP_RNDD); test_div(z3, x, y, GMP_RNDD); |