diff options
Diffstat (limited to 'tests/tsec.c')
-rw-r--r-- | tests/tsec.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/tsec.c b/tests/tsec.c index e03468603..1f5012bb3 100644 --- a/tests/tsec.c +++ b/tests/tsec.c @@ -120,9 +120,10 @@ overflowed_sec0 (void) if (! mpfr_equal_p (x, y)) { printf ("Error in overflowed_sec0 (i = %d, rnd = %s):\n" - " Got ", i, mpfr_print_rnd_mode ((mpfr_rnd_t) rnd)); - mpfr_print_binary (x); - printf (" instead of 0.11111111E%d.\n", emax); + " Got ", i, + mpfr_print_rnd_mode ((mpfr_rnd_t) rnd)); + mpfr_dump (x); + printf (" instead of 0.11111111E%d.\n", emax); err = 1; } } @@ -138,9 +139,10 @@ overflowed_sec0 (void) if (! (mpfr_inf_p (x) && MPFR_IS_POS (x))) { printf ("Error in overflowed_sec0 (i = %d, rnd = %s):\n" - " Got ", i, mpfr_print_rnd_mode ((mpfr_rnd_t) rnd)); - mpfr_print_binary (x); - printf (" instead of +Inf.\n"); + " Got ", i, + mpfr_print_rnd_mode ((mpfr_rnd_t) rnd)); + mpfr_dump (x); + printf (" instead of +Inf.\n"); err = 1; } } |