summaryrefslogtreecommitdiff
path: root/tests/tgeneric_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tgeneric_ui.c')
-rw-r--r--tests/tgeneric_ui.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/tests/tgeneric_ui.c b/tests/tgeneric_ui.c
index a57909fdd..ca3e19871 100644
--- a/tests/tgeneric_ui.c
+++ b/tests/tgeneric_ui.c
@@ -92,14 +92,11 @@ test_generic_ui (mpfr_prec_t p0, mpfr_prec_t p1, unsigned int N)
printf ("Function: %s\n", TEST_FUNCTION_NAME);
#endif
printf ("got ");
- mpfr_out_str (stdout, 2, prec, z, MPFR_RNDN);
- puts ("");
+ mpfr_dump (z);
printf ("expected ");
- mpfr_out_str (stdout, 2, prec, t, MPFR_RNDN);
- puts ("");
- printf ("approx ");
- mpfr_print_binary (y);
- puts ("");
+ mpfr_dump (t);
+ printf ("approx ");
+ mpfr_dump (y);
exit (1);
}
compare2 = mpfr_cmp (t, y);