summaryrefslogtreecommitdiff
path: root/tests/tui_div.c
diff options
context:
space:
mode:
authorryde <ryde@280ebfd0-de03-0410-8827-d642c229c3f4>2003-06-09 22:48:18 +0000
committerryde <ryde@280ebfd0-de03-0410-8827-d642c229c3f4>2003-06-09 22:48:18 +0000
commit674e99596457dcafd4ddd10a7660ad893cb18772 (patch)
treeabc668ca7c2cb8eb031995f4fd6b88d026cdc12c /tests/tui_div.c
parent8a6c5d3a53a2ea00254a54d7723667bcdd124727 (diff)
downloadmpfr-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/tui_div.c')
-rw-r--r--tests/tui_div.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tui_div.c b/tests/tui_div.c
index 773638689..deacaf669 100644
--- a/tests/tui_div.c
+++ b/tests/tui_div.c
@@ -90,9 +90,9 @@ check_inexact (void)
fprintf (stderr, "Wrong inexact flag for u=%lu, rnd=%s\n", u,
mpfr_print_rnd_mode(rnd));
printf ("expected %d, got %d\n", cmp, inexact);
- printf ("x="); mpfr_print_binary (x); putchar ('\n');
- printf ("y="); mpfr_print_binary (y); putchar ('\n');
- printf ("y*x="); mpfr_print_binary (z); putchar ('\n');
+ printf ("x="); mpfr_print_binary (x); puts ("");
+ printf ("y="); mpfr_print_binary (y); puts ("");
+ printf ("y*x="); mpfr_print_binary (z); puts ("");
exit (1);
}
}