summaryrefslogtreecommitdiff
path: root/tests/mpn/t-toom22.c
blob: c9beed9fc17ee9a8d7c65ee02b2031c4fdac3eb5 (plain)
1
2
3
4
5
6
7
8
9
10
#define mpn_toomMN_mul mpn_toom22_mul
#define mpn_toomMN_mul_itch mpn_toom22_mul_itch
#define MIN_AN MIN(MPN_TOOM22_MUL_MINSIZE,4)

#define MIN_BN(an)				\
  ((an) >= 2*MUL_TOOM22_THRESHOLD		\
   ? (an) + 2 - MUL_TOOM22_THRESHOLD		\
   : ((an)+1)/2 + 1 + (an & 1))

#include "toom-shared.h"