diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2015-05-05 13:35:16 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2015-05-05 13:35:16 +0000 |
commit | 4decb5d2127e841eb2c8e07274e417e3f433e256 (patch) | |
tree | dc07726bef71bcfe60384aaf3eb4a578280e4011 /tests/tsum.c | |
parent | b412a977d7ead69933affeb5255f55ea5e4af669 (diff) | |
download | mpfr-4decb5d2127e841eb2c8e07274e417e3f433e256.tar.gz |
[tests/tsum.c] In cancel(), increase the number of tests from 8 to 1000.
This is much more, but the test is fast compare to other ones so that
the running time increases by a few percents only. And this triggers a
new bug: the exponent range is not restored (on a 64-bit machine).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9384 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsum.c')
-rw-r--r-- | tests/tsum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tsum.c b/tests/tsum.c index f66c422f2..28f2cf984 100644 --- a/tests/tsum.c +++ b/tests/tsum.c @@ -811,7 +811,7 @@ cancel (void) mpfr_init2 (bound, 2); - for (i = 0; i < 8; i++) + for (i = 0; i < 1000; i++) { mpfr_set_inf (bound, 1); for (n = 0; n < numberof (x); n++) |