Open fredrik-johansson opened 1 year ago
FWIW, the crossover for powm
based on fmpz_fdiv_qr_preinvn
instead of mpz_powm
(which uses REDC) is around 10^5 bits. I suppose this would be lower if we precomputed the transform. Is there a way to implement REDC efficiently using fft_small?
Note: fmpz_fprint
and fmpz_fread
will need to be updated to use the new radix conversion code.
Things that ought to use fft_small for huge operands:
divisionmodular poweringget_str,set_str