summaryrefslogtreecommitdiff
path: root/tests/tai.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-03-18 12:37:13 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-03-18 12:37:13 +0000
commit3f71e912d2bed96b4c2eff31d5d397290d66df9d (patch)
tree2c06f39c94165d2cbc8f539b41451426b83c0bdd /tests/tai.c
parent4af8817f6da5ff707551aee17a5df9c5c198631d (diff)
downloadmpfr-3f71e912d2bed96b4c2eff31d5d397290d66df9d.tar.gz
[tai.c] reduce the maximal exponents in test_generic()
also reduce the number of random tests to decrease the test time git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6734 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tai.c')
-rw-r--r--tests/tai.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/tai.c b/tests/tai.c
index 62acedd82..436bd8fdf 100644
--- a/tests/tai.c
+++ b/tests/tai.c
@@ -29,6 +29,9 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#define TEST_FUNCTION mpfr_ai
#define TEST_RANDOM_EMIN -5
#define TEST_RANDOM_EMAX 5
+#define REDUCE_EMAX 7 /* this is to avoid that test_generic() calls mpfr_ai
+ with too large inputs. FIXME: remove this once
+ mpfr_ai can handle large inputs */
#include "tgeneric.c"
static void
@@ -71,7 +74,7 @@ main (int argc, char *argv[])
check_large ();
- test_generic (2, 100, 100);
+ test_generic (2, 100, 10);
tests_end_mpfr ();
return 0;