diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-06-02 16:06:45 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-06-02 16:06:45 +0000 |
commit | 4653ea98f79727978a425de33350bc777052ddf6 (patch) | |
tree | 90f8182778f86d5a99749910604db2aec356fd72 /tests/tgeneric.c | |
parent | 6361cf02ec0f9a9fa1cf287fc81eee2258f81c8c (diff) | |
download | mpfr-4653ea98f79727978a425de33350bc777052ddf6.tar.gz |
RNDF: fixed texp10 and tgeneric
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@10406 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tgeneric.c')
-rw-r--r-- | tests/tgeneric.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/tgeneric.c b/tests/tgeneric.c index fa24fc21c..5e3a34f47 100644 --- a/tests/tgeneric.c +++ b/tests/tgeneric.c @@ -349,8 +349,9 @@ test_generic (mpfr_prec_t p0, mpfr_prec_t p1, unsigned int nmax) " by the tested function!\n"); exit (1); } - TGENERIC_CHECK ("bad inexact flag", - (compare != 0) ^ (mpfr_inexflag_p () == 0)); + if (rnd != MPFR_RNDF) + TGENERIC_CHECK ("bad inexact flag", + (compare != 0) ^ (mpfr_inexflag_p () == 0)); ctrt++; /* If rnd = RNDF, check that we obtain the same result as |