summaryrefslogtreecommitdiff
path: root/tests/thypot.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-11-16 14:38:24 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-11-16 14:38:24 +0000
commit9139ea922ac39e09da34f033e6c8ba4845c56a02 (patch)
treefc98dba0c298d5d6880f2419aeb9f16eb31fead6 /tests/thypot.c
parent7bbf44f6aa76af784f3e52ca3fdab5a15126cd6f (diff)
downloadmpfr-9139ea922ac39e09da34f033e6c8ba4845c56a02.tar.gz
mpfr_print_raw -> mpfr_print_binary
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1558 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/thypot.c')
-rw-r--r--tests/thypot.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/thypot.c b/tests/thypot.c
index ff4deba81..739e54143 100644
--- a/tests/thypot.c
+++ b/tests/thypot.c
@@ -91,7 +91,7 @@ main (int argc, char *argv[])
mpfr_out_str (stdout, 2, prec, t, GMP_RNDN);
putchar ('\n');
printf (" approximation was ");
- mpfr_print_raw (y);
+ mpfr_print_binary (y);
putchar ('\n');
exit (1);
}
@@ -108,9 +108,9 @@ main (int argc, char *argv[])
{
fprintf (stderr, "Wrong inexact flag for rnd=%s: expected %d, got %d\n",
mpfr_print_rnd_mode (rnd), compare, inexact);
- printf ("x1="); mpfr_print_raw (x1); putchar ('\n');
- printf ("x2="); mpfr_print_raw (x2); putchar ('\n');
- printf ("t="); mpfr_print_raw (t); putchar ('\n');
+ printf ("x1="); mpfr_print_binary (x1); putchar ('\n');
+ printf ("x2="); mpfr_print_binary (x2); putchar ('\n');
+ printf ("t="); mpfr_print_binary (t); putchar ('\n');
exit (1);
}
}