diff options
author | Matt Johnston <matt@ucc.asn.au> | 2007-01-11 03:11:15 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2007-01-11 03:11:15 +0000 |
commit | ea8cd283ebeebea68515abc40b7c5deadf0aa9c1 (patch) | |
tree | 6098d235b1fe34926c10f3c1b28b0e79252aee26 /demo | |
parent | 1c5fda515f96c27d4e3b732d887f418453f1cb14 (diff) |
Update to LibTomMath 0.40
--HG--
branch : libtommath-orig
extra : convert_revision : 1c2b7d389d0682caf980235dad97493e3206389c
Diffstat (limited to 'demo')
-rw-r--r-- | demo/demo.c | 8 | ||||
-rw-r--r-- | demo/timing.c | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/demo/demo.c b/demo/demo.c index 0a6115a..bb5eb44 100644 --- a/demo/demo.c +++ b/demo/demo.c @@ -389,8 +389,8 @@ printf("compare no compare!\n"); exit(EXIT_FAILURE); } sub_d_n = 0; /* force KARA and TOOM to enable despite cutoffs */ - KARATSUBA_SQR_CUTOFF = KARATSUBA_MUL_CUTOFF = 110; - TOOM_SQR_CUTOFF = TOOM_MUL_CUTOFF = 150; + KARATSUBA_SQR_CUTOFF = KARATSUBA_MUL_CUTOFF = 8; + TOOM_SQR_CUTOFF = TOOM_MUL_CUTOFF = 16; for (;;) { /* randomly clear and re-init one variable, this has the affect of triming the alloc space */ @@ -734,3 +734,7 @@ printf("compare no compare!\n"); exit(EXIT_FAILURE); } } return 0; } + +/* $Source: /cvs/libtom/libtommath/demo/demo.c,v $ */ +/* $Revision: 1.3 $ */ +/* $Date: 2005/06/24 11:32:07 $ */ diff --git a/demo/timing.c b/demo/timing.c index bb3be52..d4660a9 100644 --- a/demo/timing.c +++ b/demo/timing.c @@ -313,3 +313,7 @@ int main(void) return 0; } + +/* $Source: /cvs/libtom/libtommath/demo/timing.c,v $ */ +/* $Revision: 1.2 $ */ +/* $Date: 2005/05/05 14:38:47 $ */ |