summaryrefslogtreecommitdiff
path: root/tests/tconst_pi.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/tconst_pi.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/tconst_pi.c')
-rw-r--r--tests/tconst_pi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tconst_pi.c b/tests/tconst_pi.c
index 245f1455e..54ccb6dc6 100644
--- a/tests/tconst_pi.c
+++ b/tests/tconst_pi.c
@@ -54,7 +54,7 @@ main (int argc, char *argv[])
{
printf ("Pi=");
mpfr_out_str (stdout, 10, 0, x, rnd);
- putchar ('\n');
+ puts ("");
}
}
else if (mpfr_get_d1 (x) != 3.141592653589793116)