diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2021-01-13 23:58:12 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2021-01-13 23:58:12 +0000 |
commit | fd423cbc7225cb10922608100980b610fc10dc7a (patch) | |
tree | 5cdfca275d30387f666d30fe1f530707580aba83 /tests/ttanu.c | |
parent | 23d4edb7ad38572fe2380baf87b0b826c1301c02 (diff) | |
download | mpfr-fd423cbc7225cb10922608100980b610fc10dc7a.tar.gz |
[tests/{tcosu.c,tsinu.c,ttanu.c}] For the generic tests, no need
to reduce emax any longer, now that the fast range reduction has
been implemented.
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14251 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/ttanu.c')
-rw-r--r-- | tests/ttanu.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/ttanu.c b/tests/ttanu.c index 6220cc845..adda20f75 100644 --- a/tests/ttanu.c +++ b/tests/ttanu.c @@ -226,16 +226,8 @@ test_large (void) mpfr_clears (x, y, z, (mpfr_ptr) 0); } -/* FIXME[VL]: For mpfr_tanu, the range reduction should not be expensive. - If I'm not mistaken, this is linear in the bitsize of the exponent - since one just needs to compute the argument modulo the integer u. */ #define TEST_FUNCTION mpfr_tanu #define ULONG_ARG2 -#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" static int |