diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2015-06-06 14:12:11 +0200 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2015-06-06 14:12:11 +0200 |
commit | adc094551f80bab65629d84b20d2d5bc00ce7a78 (patch) | |
tree | b1a52c000e97094931c8342195acdf221d13377f /tests/mpn | |
parent | 11b22a9795c24d597e88cdeeaca07bc357660eb1 (diff) | |
download | gmp-adc094551f80bab65629d84b20d2d5bc00ce7a78.tar.gz |
tests/mpn/t-toom22.c: stop testing some unsafe (unused) corner cases.
Diffstat (limited to 'tests/mpn')
-rw-r--r-- | tests/mpn/t-toom22.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mpn/t-toom22.c b/tests/mpn/t-toom22.c index 939a88e9d..1be8e16a5 100644 --- a/tests/mpn/t-toom22.c +++ b/tests/mpn/t-toom22.c @@ -1,10 +1,10 @@ #define mpn_toomMN_mul mpn_toom22_mul #define mpn_toomMN_mul_itch mpn_toom22_mul_itch -#define MIN_AN 2 +#define MIN_AN 4 #define MIN_BN(an) \ ((an) >= 2*MUL_TOOM22_THRESHOLD \ ? (an) + 2 - MUL_TOOM22_THRESHOLD \ - : ((an)+1)/2 + 1) + : ((an)+1)/2 + 1 + (an & 1)) #include "toom-shared.h" |