-
- Downloads
Use flint-3 for modular powers in the Tonelli-Shanks algorithm.
* lib/cm-impl.h (cm_flint_mpz_powm): Declare new function. * lib/flint.c (cm_flint_mpz_powm): New function. * lib/nt.c (cm_mpz_powm): New function dispatching between the FLINT and the GMP implementation. (cm_nt_mpz_tonelli_generator, cm_nt_mpz_tonelli_with_generator): Call cm_mpz_powm.
Loading
Please register or sign in to comment