summaryrefslogtreecommitdiff
path: root/tests/texceptions.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-04-07 13:59:37 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-04-07 13:59:37 +0000
commit01468b489e2ad35217f4a4eab6b9f160c5d8049c (patch)
treeb90258a76462738d19df6f54665ec79192e5ad76 /tests/texceptions.c
parentaab6696198475b5b6575a01aab71eec62c00cf4c (diff)
downloadmpfr-01468b489e2ad35217f4a4eab6b9f160c5d8049c.tar.gz
Replaced various instances of mpfr_print_binary + newline (sometimes
missing) by mpfr_dump. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10252 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/texceptions.c')
-rw-r--r--tests/texceptions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/texceptions.c b/tests/texceptions.c
index dba93f796..dbd877885 100644
--- a/tests/texceptions.c
+++ b/tests/texceptions.c
@@ -464,7 +464,7 @@ main (int argc, char *argv[])
{
printf ("Error: x+x rounded to nearest for x=2^1023 should give +Inf\n");
printf ("emax = %ld\n", (long) mpfr_get_emax ());
- printf ("got "); mpfr_print_binary (x); puts ("");
+ printf ("got "); mpfr_dump (x);
exit (1);
}
@@ -486,7 +486,7 @@ main (int argc, char *argv[])
{
printf ("Error: y-x rounded to zero should give 0"
" for y=3/2*2^(-1022), x=2^(-1022)\n");
- printf ("y="); mpfr_print_binary (y); puts ("");
+ printf ("y="); mpfr_dump (y);
exit (1);
}