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/texceptions.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/texceptions.c')
-rw-r--r-- | tests/texceptions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/texceptions.c b/tests/texceptions.c index 7f2fd829e..bfa18cc80 100644 --- a/tests/texceptions.c +++ b/tests/texceptions.c @@ -93,7 +93,7 @@ main (int argc, char *argv[]) { fprintf (stderr, "Error: x+x rounded to nearest for x=2^1023 should give +Inf\n"); printf ("emax = %ld\n", mpfr_get_emax ()); - printf ("got "); mpfr_print_binary (x); putchar ('\n'); + printf ("got "); mpfr_print_binary (x); puts (""); exit (1); } @@ -113,7 +113,7 @@ main (int argc, char *argv[]) if (mpfr_cmp_ui (y, 0)) { fprintf (stderr, "Error: y-x rounded to zero should give 0 for y=3/2*2^(-1022), x=2^(-1022)\n"); - printf ("y="); mpfr_print_binary (y); putchar ('\n'); + printf ("y="); mpfr_print_binary (y); puts (""); exit (1); } |