diff options
Diffstat (limited to 'tests/tpow.c')
-rw-r--r-- | tests/tpow.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/tpow.c b/tests/tpow.c index a824bf545..d94af9dc4 100644 --- a/tests/tpow.c +++ b/tests/tpow.c @@ -98,10 +98,10 @@ check_inexact (mp_prec_t p) { fprintf (stderr, "results differ for u=%lu rnd=%s\n", u, mpfr_print_rnd_mode(rnd)); - printf ("x="); mpfr_print_binary (x); putchar ('\n'); - printf ("y="); mpfr_print_binary (y); putchar ('\n'); - printf ("t="); mpfr_print_binary (t); putchar ('\n'); - printf ("z="); mpfr_print_binary (z); putchar ('\n'); + printf ("x="); mpfr_print_binary (x); puts (""); + printf ("y="); mpfr_print_binary (y); puts (""); + printf ("t="); mpfr_print_binary (t); puts (""); + printf ("z="); mpfr_print_binary (z); puts (""); exit (1); } if (((inexact == 0) && (cmp != 0)) || @@ -110,8 +110,8 @@ check_inexact (mp_prec_t p) fprintf (stderr, "Wrong inexact flag for p=%u, q=%u, rnd=%s\n", (unsigned) p, (unsigned) q, mpfr_print_rnd_mode (rnd)); printf ("expected %d, got %d\n", cmp, inexact); - printf ("u=%lu x=", u); mpfr_print_binary (x); putchar ('\n'); - printf ("y="); mpfr_print_binary (y); putchar ('\n'); + printf ("u=%lu x=", u); mpfr_print_binary (x); puts (""); + printf ("y="); mpfr_print_binary (y); puts (""); exit (1); } } |