diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2018-04-28 22:42:00 +0200 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2018-04-28 22:42:00 +0200 |
commit | 311980b1baba94bf7f23e5da2fd8c720d4fbcb49 (patch) | |
tree | 2619a9ae500b92fe4784f7e38f18642c95626078 /tests | |
parent | b5cc4a819b6d33eab833b6ce477e5097aab25073 (diff) | |
download | gmp-311980b1baba94bf7f23e5da2fd8c720d4fbcb49.tar.gz |
Improve ASSERTs
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mpn/t-toom8h.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mpn/t-toom8h.c b/tests/mpn/t-toom8h.c index aeeabb274..b21344e68 100644 --- a/tests/mpn/t-toom8h.c +++ b/tests/mpn/t-toom8h.c @@ -8,7 +8,8 @@ #define MIN_AN MUL_TOOM8H_MIN #define MIN_BN(an) \ -(MAX(GMP_NUMB_BITS <= 10*3 ? (an*6)/10 : \ +(MAX(GMP_NUMB_BITS <= 9*3 ? (an*7)/ 9 : \ + GMP_NUMB_BITS <= 10*3 ? (an*6)/10 : \ GMP_NUMB_BITS <= 11*3 ? (an*5)/11 : \ GMP_NUMB_BITS <= 12*3 ? (an*4)/12 : \ (an*4)/13, 86) ) |