From 366c93ee5f28faf3cceb10fb608d60949141d7fd Mon Sep 17 00:00:00 2001 From: zimmerma Date: Thu, 13 Sep 2018 16:27:28 +0000 Subject: [tests/tsin.c] reduce REDUCE_EMAX with mini-gmp git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13188 280ebfd0-de03-0410-8827-d642c229c3f4 --- tests/tsin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/tsin.c b/tests/tsin.c index 206900c19..25c26f7a6 100644 --- a/tests/tsin.c +++ b/tests/tsin.c @@ -194,7 +194,11 @@ check_nans (void) } #define TEST_FUNCTION test_sin +#ifndef MPFR_USE_MINI_GMP #define REDUCE_EMAX 262143 /* otherwise arg. reduction is too expensive */ +#else +#define REDUCE_EMAX 16383 /* reduce further since mini-gmp works in O(n^2) */ +#endif #include "tgeneric.c" const char xs[] = "0.111011111110110000111000001100000111110E-1"; -- cgit v1.2.1