Next: Integer Roots, Previous: Integer Division, Up: Integer Functions
Set rop to (base raised to exp) modulo mod.
Negative exp is supported if an inverse base^-1 mod mod exists (see
mpz_invertin Number Theoretic Functions). If an inverse doesn't exist then a divide by zero is raised.