1 2 3 4 5
GMP has mpz_divexact(q,n,d), we should have zdiv_exact(q,n,d). It uses optimised division algorithm that requires that d|n. Add zsets_radix Add zstr_radix