diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-10-30 15:01:40 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-10-30 15:01:40 +0000 |
commit | 424dc73e7501d5f9c4fc73c901c6f11629bd922f (patch) | |
tree | 4e7db7cefc5cdc8d3e5e2e2511224f932b6776e5 | |
parent | 86a922261ce93b24a71e79e5a67d027c6256a1a8 (diff) | |
download | mpfr-424dc73e7501d5f9c4fc73c901c6f11629bd922f.tar.gz |
tests/tsin_cos.c: because I'm not confident in the current sin_cos.c
code, I've reduced the precision again in the consistency test (so that
it is more likely to find a bad case). This yields an assertion failure
in get_exp.c (Linux/x86_64). Hardcoded testcase will come later.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/2.4@6532 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | tests/tsin_cos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tsin_cos.c b/tests/tsin_cos.c index b30ba67d2..295c92dde 100644 --- a/tests/tsin_cos.c +++ b/tests/tsin_cos.c @@ -344,8 +344,8 @@ consistency (void) for (i = 0; i <= 10000; i++) { - mpfr_init2 (x, MPFR_PREC_MIN + (randlimb () % 40)); - mpfr_inits2 (MPFR_PREC_MIN + (randlimb () % 40), s1, s2, c1, c2, + mpfr_init2 (x, MPFR_PREC_MIN + (randlimb () % 8)); + mpfr_inits2 (MPFR_PREC_MIN + (randlimb () % 8), s1, s2, c1, c2, (mpfr_ptr) 0); tests_default_random (x, 256, -5, 50); rnd = RND_RAND (); |