From 4decb5d2127e841eb2c8e07274e417e3f433e256 Mon Sep 17 00:00:00 2001 From: vlefevre Date: Tue, 5 May 2015 13:35:16 +0000 Subject: [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 --- tests/tsum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/tsum.c') 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++) -- cgit v1.2.1