summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2007-07-24 13:42:35 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2007-07-24 13:42:35 +0000
commit465f8c1db1fd6f73b0f5e17ef68a44e430e95023 (patch)
treebf22097e06725a500df3858612dc208ee5800eb4 /tests
parentaa2d3678e4f217941e5d1bd7c00168963bb3a811 (diff)
downloadmpfr-465f8c1db1fd6f73b0f5e17ef68a44e430e95023.tar.gz
implemented asymptotic expansion for large argument in j0/j1/jn
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4690 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r--tests/data/j02
-rw-r--r--tests/tj0.c1
-rw-r--r--tests/tj1.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/tests/data/j0 b/tests/data/j0
index 58454ece9..51d81882c 100644
--- a/tests/data/j0
+++ b/tests/data/j0
@@ -1065,3 +1065,5 @@
53 53 n 0x1F06343D0971FBp-47 0x1F32FAADC9C90Fp-98
53 53 n 0x1F06343D09C6A7p-47 0x112F1357417BEAp-88
53 53 n 0x1F06343D0A11B5p-47 0x1031CA8324C806p-87
+# below are test cases not in Gonnet's testsuite
+53 53 n 0x1p1000 0x1DE62DD27F8FBDp-554
diff --git a/tests/tj0.c b/tests/tj0.c
index b7dea925d..5c820031f 100644
--- a/tests/tj0.c
+++ b/tests/tj0.c
@@ -27,6 +27,7 @@ MA 02110-1301, USA. */
#define TEST_FUNCTION mpfr_j0
#define RAND_FUNCTION(x) mpfr_random2(x, MPFR_LIMB_SIZE (x), 8)
+#define REDUCE_EMAX 262143 /* otherwise arg. reduction is too expensive */
#include "tgeneric.c"
int
diff --git a/tests/tj1.c b/tests/tj1.c
index d0b68c0be..8dd7b8da6 100644
--- a/tests/tj1.c
+++ b/tests/tj1.c
@@ -27,6 +27,7 @@ MA 02110-1301, USA. */
#define TEST_FUNCTION mpfr_j1
#define RAND_FUNCTION(x) mpfr_random2(x, MPFR_LIMB_SIZE (x), 8)
+#define REDUCE_EMAX 262143 /* otherwise arg. reduction is too expensive */
#include "tgeneric.c"
int