summaryrefslogtreecommitdiff
path: root/tests/texpm1.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-08-31 11:33:53 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-08-31 11:33:53 +0000
commita7483db416a5b1d7785ff23d12c4d79a4f3ed835 (patch)
treea08eec5ccee99951e4039986695fc62fe6f69de0 /tests/texpm1.c
parent8b41804c7c4a42143662f2307a3a5ec136683baa (diff)
downloadmpfr-a7483db416a5b1d7785ff23d12c4d79a4f3ed835.tar.gz
Improved generic tests by limiting the exponent range of the random
numbers for some functions. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4811 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/texpm1.c')
-rw-r--r--tests/texpm1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/texpm1.c b/tests/texpm1.c
index e1274a35a..d35138bdf 100644
--- a/tests/texpm1.c
+++ b/tests/texpm1.c
@@ -49,6 +49,8 @@ test_expm1 (mpfr_ptr a, mpfr_srcptr b, mp_rnd_t rnd_mode)
#endif
#define TEST_FUNCTION test_expm1
+#define TEST_RANDOM_EMIN -36
+#define TEST_RANDOM_EMAX 36
#include "tgeneric.c"
static void