summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-07-06 12:16:04 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-07-06 12:16:04 +0000
commit967895b00e0329ed68786bef76b930a1ccb5b63a (patch)
tree654cd260f0c1b682356dfe92f8e02fc810c4a3ea /tests
parent053454cdef5dd261d0108313864b3be0004a390f (diff)
downloadmpfr-967895b00e0329ed68786bef76b930a1ccb5b63a.tar.gz
[tests/turandom.c] Improved an error message.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10578 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r--tests/turandom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/turandom.c b/tests/turandom.c
index fe36b0e4d..7096b244d 100644
--- a/tests/turandom.c
+++ b/tests/turandom.c
@@ -105,9 +105,9 @@ test_urandom (long nbtests, mpfr_prec_t prec, mpfr_rnd_t rnd, long bit_index,
&& (!MPFR_IS_ZERO (x) || inex != -1)))
{
printf ("Error: mpfr_urandom() does not handle correctly"
- " a restricted exponent range.\nrounding mode: %s\n"
- "ternary value: %d\nrandom value: ",
- mpfr_print_rnd_mode (rnd), inex);
+ " a restricted exponent range.\nemin = %d\n"
+ "rounding mode: %s\nternary value: %d\nrandom value: ",
+ k+1, mpfr_print_rnd_mode (rnd), inex);
mpfr_dump (x);
exit (1);
}