summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2018-09-13 16:27:28 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2018-09-13 16:27:28 +0000
commit366c93ee5f28faf3cceb10fb608d60949141d7fd (patch)
tree17bba3c62d940590bd46c926a1489ffaad91daa8
parent1971c527e82c9a594dd34c30d48449df2bf0e36b (diff)
downloadmpfr-366c93ee5f28faf3cceb10fb608d60949141d7fd.tar.gz
[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
-rw-r--r--tests/tsin.c4
1 files changed, 4 insertions, 0 deletions
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";