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/tset_q.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/tset_q.c')
-rw-r--r-- | tests/tset_q.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/tset_q.c b/tests/tset_q.c index 7d6528f7b..e95b658a4 100644 --- a/tests/tset_q.c +++ b/tests/tset_q.c @@ -44,17 +44,17 @@ check (long int n, long int d, mp_rnd_t rnd, double y) /* check values */ if (y != z) { - fprintf (stderr, "Error for q=%ld/%lu and rnd=%s\n", n, d, - mpfr_print_rnd_mode (rnd)); - fprintf (stderr, "correct result is %1.20e, mpfr_set_q gives %1.20e\n", - y, z); + printf ("Error for q=%ld/%lu and rnd=%s\n", n, d, + mpfr_print_rnd_mode (rnd)); + printf ("correct result is %1.20e, mpfr_set_q gives %1.20e\n", + y, z); exit (1); } /* check inexact flag */ if (mpfr_mul_ui (t, x, (d < 0) ? (-d) : d, rnd)) { - fprintf (stderr, "t <- x * d should be exact\n"); + printf ("t <- x * d should be exact\n"); exit (1); } compare = mpfr_cmp_si (t, n); @@ -62,8 +62,8 @@ check (long int n, long int d, mp_rnd_t rnd, double y) ((inexact < 0) && (compare >= 0)) || ((inexact > 0) && (compare <= 0))) { - fprintf (stderr, "wrong inexact flag: expected %d, got %d\n", compare, - inexact); + printf ("wrong inexact flag: expected %d, got %d\n", compare, + inexact); exit (1); } |