summaryrefslogtreecommitdiff
path: root/tests/tsub_ui.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2003-09-24 22:32:40 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2003-09-24 22:32:40 +0000
commit788b255e420f8d4ba0f0b43ce87b00b62d60a896 (patch)
treeab61feb20fd18f316aca30d1da9b7983a6f9d9fd /tests/tsub_ui.c
parenta7589b2a6e3e129bb0aea18469ecfa399e0f31f2 (diff)
downloadmpfr-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/tsub_ui.c')
-rw-r--r--tests/tsub_ui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tsub_ui.c b/tests/tsub_ui.c
index 5fbeb4a18..298a884cd 100644
--- a/tests/tsub_ui.c
+++ b/tests/tsub_ui.c
@@ -67,7 +67,7 @@ check_two_sum (mp_prec_t p)
mpfr_t y, u, v, w;
mp_rnd_t rnd;
int inexact;
-
+
mpfr_init2 (y, p);
mpfr_init2 (u, p);
mpfr_init2 (v, p);
@@ -88,8 +88,8 @@ check_two_sum (mp_prec_t p)
((inexact > 0) && (mpfr_cmp_ui (w, 0) <= 0)) ||
((inexact < 0) && (mpfr_cmp_ui (w, 0) >= 0)))
{
- fprintf (stderr, "Wrong inexact flag for prec=%u, rnd=%s\n", (unsigned)p,
- mpfr_print_rnd_mode (rnd));
+ printf ("Wrong inexact flag for prec=%u, rnd=%s\n",
+ (unsigned int) p, mpfr_print_rnd_mode (rnd));
printf ("x=%u\n", x);
printf ("y="); mpfr_print_binary(y); puts ("");
printf ("u="); mpfr_print_binary(u); puts ("");