From a7aa914c3526d87d7327f21f337f69d8b8c7822e Mon Sep 17 00:00:00 2001 From: vlefevre Date: Wed, 3 Jun 2015 11:48:05 +0000 Subject: [tests/trint.c] Extend basic_tests from [56,72] to [1,72] since i < 4 (|x| < 1) are special cases in the implementation. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9488 280ebfd0-de03-0410-8827-d642c229c3f4 --- tests/trint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/trint.c') diff --git a/tests/trint.c b/tests/trint.c index d524d502a..e6d2a5b1d 100644 --- a/tests/trint.c +++ b/tests/trint.c @@ -251,7 +251,7 @@ special (void) } \ while (0) -/* Test mpfr_rint_* on i/4 with |i| between 56 and 72. */ +/* Test mpfr_rint_* on i/4 with |i| between 1 and 72. */ static void basic_tests (void) { @@ -267,7 +267,7 @@ basic_tests (void) { mpfr_inits2 (prec, y, z, (mpfr_ptr) 0); for (s = 1; s >= -1; s -= 2) - for (i = 56; i <= 72; i++) + for (i = 1; i <= 72; i++) { int k, t, u, v, f, e; -- cgit v1.2.1