diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-09-24 22:32:40 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-09-24 22:32:40 +0000 |
commit | 788b255e420f8d4ba0f0b43ce87b00b62d60a896 (patch) | |
tree | ab61feb20fd18f316aca30d1da9b7983a6f9d9fd /tests/tround_prec.c | |
parent | a7589b2a6e3e129bb0aea18469ecfa399e0f31f2 (diff) | |
download | mpfr-788b255e420f8d4ba0f0b43ce87b00b62d60a896.tar.gz |
Changed some stderr to stdout.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2448 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tround_prec.c')
-rw-r--r-- | tests/tround_prec.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/tround_prec.c b/tests/tround_prec.c index 24d433d19..0ecf56e34 100644 --- a/tests/tround_prec.c +++ b/tests/tround_prec.c @@ -38,8 +38,7 @@ main (void) mpfr_prec_round (x, 2, GMP_RNDN); if (mpfr_cmp_ui(x, 4)) { - fprintf (stderr, "Error in tround: got %1.1f instead of 4\n", - mpfr_get_d1 (x)); + printf ("Error in tround: got %1.1f instead of 4\n", mpfr_get_d1 (x)); exit (1); } @@ -49,8 +48,7 @@ main (void) mpfr_prec_round (x, mp_bits_per_limb + 1, GMP_RNDN); if (mpfr_cmp_ui(x, 5)) { - fprintf (stderr, "Error in tround: got %1.1f instead of 5\n", - mpfr_get_d1 (x)); + printf ("Error in tround: got %1.1f instead of 5\n", mpfr_get_d1 (x)); exit (1); } @@ -60,8 +58,7 @@ main (void) mpfr_prec_round (x, mp_bits_per_limb + 1, GMP_RNDN); if (mpfr_cmp_si(x, -5)) { - fprintf (stderr, "Error in tround: got %1.1f instead of -5\n", - mpfr_get_d1 (x)); + printf ("Error in tround: got %1.1f instead of -5\n", mpfr_get_d1 (x)); exit (1); } @@ -71,8 +68,7 @@ main (void) mpfr_prec_round (x, 3, GMP_RNDN); /* exact */ if (mpfr_cmp_ui(x, 5)) { - fprintf (stderr, "Error in tround: got %1.1f instead of 5\n", - mpfr_get_d1 (x)); + printf ("Error in tround: got %1.1f instead of 5\n", mpfr_get_d1 (x)); exit (1); } |