change FFT threshold in mul.c

This commit is contained in:
Brian Gladman 2013-03-09 21:15:06 +00:00
parent d4ff698e71
commit b5c32bf68d

View File

@ -138,7 +138,8 @@ mpn_mul (mp_ptr prodp,
return prodp[un + vn - 1];
}
if (ABOVE_THRESHOLD (un + vn, 2*MUL_FFT_FULL_THRESHOLD))
if (ABOVE_THRESHOLD (un + vn, 2*MUL_FFT_FULL_THRESHOLD)
&& ABOVE_THRESHOLD (3*vn, MUL_FFT_FULL_THRESHOLD))
{
mpn_mul_fft_main (prodp, up, un, vp, vn);
return prodp[un + vn - 1];