summaryrefslogtreecommitdiff
path: root/tests/tcan_round.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2018-12-06 08:11:06 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2018-12-06 08:11:06 +0000
commite0ec2bfa5ef30fa6b7a65ffd0a8d56638a74424e (patch)
tree1435fced760999b26781b955aa0b1440a70413de /tests/tcan_round.c
parentdce524acf85af548517d423fd07d8d5f91e8acbf (diff)
downloadmpfr-e0ec2bfa5ef30fa6b7a65ffd0a8d56638a74424e.tar.gz
[tests/tcan_round.c] Corrected error message for mini-gmp.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13325 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tcan_round.c')
-rw-r--r--tests/tcan_round.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tcan_round.c b/tests/tcan_round.c
index 8ab5eda49..ee0fe7ba4 100644
--- a/tests/tcan_round.c
+++ b/tests/tcan_round.c
@@ -116,9 +116,10 @@ check_round_p (void)
if (r1 != r2)
{
printf ("mpfr_round_p(%d) != mpfr_can_round(%d,RNDZ)!\n"
- "bn = %ld, err0 = %ld, prec = %lu\nbp = ",
+ "bn = %ld, err0 = %ld, prec = %lu\n",
r1, r2, (long) n, (long) err, (unsigned long) p);
#ifndef MPFR_USE_MINI_GMP
+ printf ("bp = ");
gmp_printf ("%NX\n", buf, n);
#endif
exit (1);