summaryrefslogtreecommitdiff
path: root/tests/tgamma.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tgamma.c')
-rw-r--r--tests/tgamma.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/tgamma.c b/tests/tgamma.c
index be9cccd14..2b4555964 100644
--- a/tests/tgamma.c
+++ b/tests/tgamma.c
@@ -108,9 +108,9 @@ special (void)
{
printf ("mpfr_lngamma("CHECK_X1") is wrong:\n"
"expected ");
- mpfr_print_binary (x); putchar ('\n');
+ mpfr_dump (x);
printf ("got ");
- mpfr_print_binary (y); putchar ('\n');
+ mpfr_dump (y);
exit (1);
}
@@ -123,9 +123,9 @@ special (void)
{
printf ("mpfr_lngamma("CHECK_X2") is wrong:\n"
"expected ");
- mpfr_print_binary (x); putchar ('\n');
+ mpfr_dump (x);
printf ("got ");
- mpfr_print_binary (y); putchar ('\n');
+ mpfr_dump (y);
exit (1);
}
@@ -150,8 +150,8 @@ special (void)
if (mpfr_cmp (x, y))
{
printf ("Error in mpfr_gamma (120)\n");
- printf ("Expected "); mpfr_print_binary (y); puts ("");
- printf ("Got "); mpfr_print_binary (x); puts ("");
+ printf ("Expected "); mpfr_dump (y);
+ printf ("Got "); mpfr_dump (x);
exit (1);
}
@@ -546,9 +546,9 @@ test20120426 (void)
{
printf ("Error in test20120426, i=%d\n", i);
printf ("expected ");
- mpfr_print_binary (xb); putchar ('\n');
+ mpfr_dump (xb);
printf ("got ");
- mpfr_print_binary (xa); putchar ('\n');
+ mpfr_dump (xa);
exit (1);
}
mpfr_set_emin (emin);