diff options
Diffstat (limited to 'tests/tj0.c')
-rw-r--r-- | tests/tj0.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tj0.c b/tests/tj0.c index 4a49206bb..e98e10309 100644 --- a/tests/tj0.c +++ b/tests/tj0.c @@ -95,8 +95,8 @@ main (int argc, char *argv[]) mpfr_set_prec (x, 7); mpfr_set_prec (y, 7); mpfr_set_si (x, -100, GMP_RNDN); - mpfr_j0 (x, x, GMP_RNDN); - MPFR_ASSERTN(mpfr_cmp_ui_2exp (y, 41, -11) == 0); + mpfr_j0 (y, x, GMP_RNDN); + MPFR_ASSERTN (! mpfr_nan_p (y) && mpfr_cmp_ui_2exp (y, 41, -11) == 0); mpfr_clear (x); mpfr_clear (y); |