diff options
author | zimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2009-10-01 06:54:30 +0000 |
---|---|---|
committer | zimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2009-10-01 06:54:30 +0000 |
commit | 29754b106f78f82bc04117541cd3dba03d288878 (patch) | |
tree | 836a9b748d742da9452ff385dab5e4f0709f8e14 /tests/tlog.c | |
parent | a4ae4972059da7895ff7d2a101c81916f6a4b162 (diff) | |
download | mpc-29754b106f78f82bc04117541cd3dba03d288878.tar.gz |
[tlog.c] disabled test for exp(log(z)) = z, since it gives false positives
[sqr.c] fixed infinite loop with large exponents
[tsqr.c] added new test
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@690 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tlog.c')
-rw-r--r-- | tests/tlog.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/tlog.c b/tests/tlog.c index 99da37f..1d13ae6 100644 --- a/tests/tlog.c +++ b/tests/tlog.c @@ -22,6 +22,9 @@ MA 02111-1307, USA. */ #include <stdlib.h> #include "mpc-tests.h" +/* PZ: disabled check_exp_log since it gives false positives, for example + with GMP_CHECK_RANDOMIZE=1254693391 with GMP 4.3.0 on 64-bit computers */ +#if 0 static void check_exp_log (void) { @@ -86,6 +89,7 @@ check_exp_log (void) mpc_clear (tmp); mpfr_clear (twopi); } +#endif int main (void) @@ -97,8 +101,6 @@ main (void) data_check (f, "log.dat"); tgeneric (f, 2, 512, 7, 128); - check_exp_log (); - test_end (); return 0; |