diff options
author | ryde <ryde@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-06-09 22:48:18 +0000 |
---|---|---|
committer | ryde <ryde@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-06-09 22:48:18 +0000 |
commit | 674e99596457dcafd4ddd10a7660ad893cb18772 (patch) | |
tree | abc668ca7c2cb8eb031995f4fd6b88d026cdc12c /tests/tabs.c | |
parent | 8a6c5d3a53a2ea00254a54d7723667bcdd124727 (diff) | |
download | mpfr-674e99596457dcafd4ddd10a7660ad893cb18772.tar.gz |
Patch by Torbjorn: use puts not putchar, to avoid GNUPro compiler bug.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2317 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tabs.c')
-rw-r--r-- | tests/tabs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tabs.c b/tests/tabs.c index 8c86a0f63..aa984f5d5 100644 --- a/tests/tabs.c +++ b/tests/tabs.c @@ -64,9 +64,9 @@ check_inexact (void) ((inexact < 0) && (cmp >= 0))) { fprintf (stderr, "Wrong inexact flag: expected %d, got %d\n", cmp, inexact); - printf ("x="); mpfr_print_binary (x); putchar ('\n'); - printf ("absx="); mpfr_print_binary (absx); putchar ('\n'); - printf ("y="); mpfr_print_binary (y); putchar ('\n'); + printf ("x="); mpfr_print_binary (x); puts (""); + printf ("absx="); mpfr_print_binary (absx); puts (""); + printf ("y="); mpfr_print_binary (y); puts (""); exit (1); } } @@ -141,7 +141,7 @@ main (int argc, char *argv[]) fprintf(stderr, "Mismatch on d = %.20e\n", d); fprintf(stderr, "dd=%.20e\n", dd); - mpfr_print_binary(x); putchar('\n'); + mpfr_print_binary(x); puts (""); exit(1); } } |