diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-07-06 12:16:04 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-07-06 12:16:04 +0000 |
commit | 967895b00e0329ed68786bef76b930a1ccb5b63a (patch) | |
tree | 654cd260f0c1b682356dfe92f8e02fc810c4a3ea /tests | |
parent | 053454cdef5dd261d0108313864b3be0004a390f (diff) | |
download | mpfr-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.c | 6 |
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); } |