t-toom8h.c
上传用户:qaz666999
上传日期:2022-08-06
资源大小:2570k
文件大小:1k
- #define mpn_toomMN_mul mpn_toom8h_mul
- #define mpn_toomMN_mul_itch mpn_toom8h_mul_itch
- /* Smaller sizes not supported; may lead to recursive calls to
- toom{22,33,44,6h}_mul with invalid input size. */
- #define MIN_AN MUL_TOOM8H_THRESHOLD
- #if GMP_NUMB_BITS <= 10*3
- #define MIN_BN(an) (MAX ((an*6)/10, 86) )
- #else
- #if GMP_NUMB_BITS <= 11*3
- #define MIN_BN(an) (MAX ((an*5)/11, 86) )
- #else
- #if GMP_NUMB_BITS <= 12*3
- #define MIN_BN(an) (MAX ((an*4)/12, 86) )
- #else
- #define MIN_BN(an) (MAX ((an*4)/13, 86) )
- #endif
- #endif
- #endif
- #include "toom-shared.h"