summaryrefslogtreecommitdiff
path: root/mpfr/tests/texceptions.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpfr/tests/texceptions.c')
-rw-r--r--mpfr/tests/texceptions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpfr/tests/texceptions.c b/mpfr/tests/texceptions.c
index 1c84fe37f..ed981ba7a 100644
--- a/mpfr/tests/texceptions.c
+++ b/mpfr/tests/texceptions.c
@@ -92,7 +92,7 @@ main (int argc, char *argv[])
{
fprintf (stderr, "Error: x+x rounded to nearest for x=2^1023 should give +Inf\n");
printf ("emax = %ld\n", mpfr_get_emax ());
- printf ("got "); mpfr_print_raw (x); putchar ('\n');
+ printf ("got "); mpfr_print_binary (x); putchar ('\n');
exit (1);
}
@@ -112,7 +112,7 @@ main (int argc, char *argv[])
if (mpfr_cmp_ui (y, 0))
{
fprintf (stderr, "Error: y-x rounded to zero should give 0 for y=3/2*2^(-1022), x=2^(-1022)\n");
- printf ("y="); mpfr_print_raw (y); putchar ('\n');
+ printf ("y="); mpfr_print_binary (y); putchar ('\n');
exit (1);
}