summaryrefslogtreecommitdiff
path: root/tests/tgmpop.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-09-14 15:28:21 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-09-14 15:28:21 +0000
commit637828131d10c07859b8715e6acd7ec5aa939e56 (patch)
tree467151881401bdbde18b2254040f489a8d7b86ad /tests/tgmpop.c
parent57572d9ed5f15ea3355e721b6b60535ad19ddb8a (diff)
downloadmpfr-637828131d10c07859b8715e6acd7ec5aa939e56.tar.gz
[tests] Got rid of the use of mpfr_print_binary, in general with
mpfr_dump. Replaced some "mpfr_out_str (stdout, 2, ...)" by mpfr_dump for consistency or as improvements. Some other corrections in the related error messages. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11750 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tgmpop.c')
-rw-r--r--tests/tgmpop.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/tgmpop.c b/tests/tgmpop.c
index 86c59bd9a..d7100201d 100644
--- a/tests/tgmpop.c
+++ b/tests/tgmpop.c
@@ -1199,11 +1199,12 @@ coverage_mpfr_mul_q_20110218 (void)
mpfr_set_inf (cmp, -1);
if ((status != 0) || (mpfr_cmp(res, cmp) != 0))
{
- printf ("mpfr_mul_q 1 * (-1/0) returned a wrong value :\n waiting for ");
- mpfr_print_binary (cmp);
- printf (" got ");
+ printf ("mpfr_mul_q 1 * (-1/0) returned a wrong value:\n");
+ printf (" expected ");
+ mpfr_dump (cmp);
+ printf (" got ");
mpfr_dump (res);
- printf ("ternary value is %d\n", status);
+ printf (" ternary value is %d\n", status);
exit (1);
}