summaryrefslogtreecommitdiff
path: root/tests/tatan.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2003-09-25 08:15:42 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2003-09-25 08:15:42 +0000
commitfd5e5221f3d42f1d1e29d99a15ac43a76460bf9b (patch)
tree332aef339e58cafd2dc32ee33efc6e2cbb66852a /tests/tatan.c
parent788b255e420f8d4ba0f0b43ce87b00b62d60a896 (diff)
downloadmpfr-fd5e5221f3d42f1d1e29d99a15ac43a76460bf9b.tar.gz
Changed the remaining stderr to stdout.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2449 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tatan.c')
-rw-r--r--tests/tatan.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/tatan.c b/tests/tatan.c
index b36b16e8c..a9a1e8e1c 100644
--- a/tests/tatan.c
+++ b/tests/tatan.c
@@ -30,7 +30,7 @@ static void
worst_cases (void)
{
mpfr_t x, y, z;
-
+
mpfr_init2 (x, 53);
mpfr_init2 (y, 53);
mpfr_init2 (z, 53);
@@ -40,14 +40,14 @@ worst_cases (void)
mpfr_atan (z, x, GMP_RNDN);
if (mpfr_cmp (y, z))
{
- fprintf (stderr, "Error in mpfr_atan for prec=53, rnd=GMP_RNDN\n");
- fprintf (stderr, "x=");
- mpfr_out_str (stderr, 2, 0, x, GMP_RNDN);
- fprintf (stderr, "\nexpected ");
- mpfr_out_str (stderr, 2, 0, y, GMP_RNDN);
- fprintf (stderr, "\ngot ");
- mpfr_out_str (stderr, 2, 0, z, GMP_RNDN);
- fprintf (stderr, "\n");
+ printf ("Error in mpfr_atan for prec=53, rnd=GMP_RNDN\n");
+ printf ("x=");
+ mpfr_out_str (stdout, 2, 0, x, GMP_RNDN);
+ printf ("\nexpected ");
+ mpfr_out_str (stdout, 2, 0, y, GMP_RNDN);
+ printf ("\ngot ");
+ mpfr_out_str (stdout, 2, 0, z, GMP_RNDN);
+ printf ("\n");
exit (1);
}