diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-04-07 13:59:37 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-04-07 13:59:37 +0000 |
commit | 01468b489e2ad35217f4a4eab6b9f160c5d8049c (patch) | |
tree | b90258a76462738d19df6f54665ec79192e5ad76 /tests/tadd1sp.c | |
parent | aab6696198475b5b6575a01aab71eec62c00cf4c (diff) | |
download | mpfr-01468b489e2ad35217f4a4eab6b9f160c5d8049c.tar.gz |
Replaced various instances of mpfr_print_binary + newline (sometimes
missing) by mpfr_dump.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10252 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tadd1sp.c')
-rw-r--r-- | tests/tadd1sp.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/tests/tadd1sp.c b/tests/tadd1sp.c index 93e8a7664..479e2b179 100644 --- a/tests/tadd1sp.c +++ b/tests/tadd1sp.c @@ -75,11 +75,10 @@ main (void) { \ printf("ERROR: for %s and p=%lu and i=%d:\nB=", \ mpfr_print_rnd_mode ((mpfr_rnd_t) r), (unsigned long) p, i); \ - mpfr_print_binary(b); \ - printf("\nC="); mpfr_print_binary(c); \ - printf("\nadd1 : "); mpfr_print_binary(a1); \ - printf("\nadd1sp: "); mpfr_print_binary(a2); \ - putchar('\n'); \ + mpfr_dump (b); \ + printf ("C="); mpfr_dump (c); \ + printf ("add1 : "); mpfr_dump (a1); \ + printf ("add1sp: "); mpfr_dump (a2); \ exit(1); \ } \ while (0) @@ -89,11 +88,10 @@ main (void) { \ printf("ERROR: Wrong inexact flag for %s and p=%lu and i=%d:\nB=", \ mpfr_print_rnd_mode ((mpfr_rnd_t) r), (unsigned long) p, i); \ - mpfr_print_binary(b); \ - printf("\nC="); mpfr_print_binary(c); \ - printf("\nA="); mpfr_print_binary(a1); \ - printf("\nAdd1: %d. Add1sp: %d\n", \ - inexact1, inexact2); \ + mpfr_dump (b); \ + printf ("C="); mpfr_dump (c); \ + printf ("A="); mpfr_dump (a1); \ + printf ("Add1: %d. Add1sp: %d\n", inexact1, inexact2); \ exit(1); \ } \ while (0) |