Fix floating point exception if mpz.powm(10, 1, 0) (modulus == 0). Add a test.
Attach a file by drag & drop or click to upload