summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarco Bodrato <bodrato@mail.dm.unipi.it>2018-04-28 22:42:00 +0200
committerMarco Bodrato <bodrato@mail.dm.unipi.it>2018-04-28 22:42:00 +0200
commit311980b1baba94bf7f23e5da2fd8c720d4fbcb49 (patch)
tree2619a9ae500b92fe4784f7e38f18642c95626078 /tests
parentb5cc4a819b6d33eab833b6ce477e5097aab25073 (diff)
downloadgmp-311980b1baba94bf7f23e5da2fd8c720d4fbcb49.tar.gz
Improve ASSERTs
Diffstat (limited to 'tests')
-rw-r--r--tests/mpn/t-toom8h.c3
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) )