summaryrefslogtreecommitdiff
path: root/tests/tmul.c
diff options
context:
space:
mode:
authorthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-11-14 17:05:28 +0000
committerthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-11-14 17:05:28 +0000
commit444bf8dc55d2b53836ce266f5c4a2821b8dd5c40 (patch)
treeeb28f7153c6b4c1ed0de71dfe7fe9876e26c4267 /tests/tmul.c
parent756d10a4d0f41b1b4019d2ed500aff03af553613 (diff)
downloadmpc-444bf8dc55d2b53836ce266f5c4a2821b8dd5c40.tar.gz
tests/tmul.c: Reduce exponent range for random number and increase maximum precision so that tgeneric (and reuse) triggers karatsuba multiplication method.
tests/mul.dat: Add a value with big precision so that multiplication is done with karatsuba method. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@313 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tmul.c')
-rw-r--r--tests/tmul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tmul.c b/tests/tmul.c
index 43342c4..74fa945 100644
--- a/tests/tmul.c
+++ b/tests/tmul.c
@@ -251,7 +251,7 @@ main (void)
check_regular ();
data_check (f, "mul.dat");
- tgeneric (f, 2, 1024, 7, 0);
+ tgeneric (f, 2, 4096, 41, 100);
test_end ();
return 0;