summaryrefslogtreecommitdiff
path: root/tests/tinternals.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tinternals.c')
-rw-r--r--tests/tinternals.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/tinternals.c b/tests/tinternals.c
index 6c670c451..0219509de 100644
--- a/tests/tinternals.c
+++ b/tests/tinternals.c
@@ -67,13 +67,8 @@ test_round_near_x (void)
mpfr_neg (x, x, MPFR_RNDN), p++, neg++)
for (err = 2; err <= 6; err++)
for (dir = 0; dir <= 1; dir++)
- RND_LOOP(r)
+ RND_LOOP_NO_RNDF (r)
{
- /* the test below takes into account the ternary value,
- which has no sense for RNDF */
- if (r == MPFR_RNDF)
- continue;
-
inex = mpfr_round_near_x (y, x, err, dir, (mpfr_rnd_t) r);
if (inex == 0 && err < 6)
@@ -85,7 +80,6 @@ test_round_near_x (void)
inex2 = ((dir ^ neg) ? mpfr_add : mpfr_sub)
(z, x, eps, (mpfr_rnd_t) r);
- /* MPFR_RNDF has no specified ternary value */
if (inex * inex2 <= 0)
printf ("Bad return value (%d instead of %d) for:\n",
inex, inex2);