Hi!

What do mpz_powm and mpz_powm_ui return when the caller requests 0^0?
Are there restrictions on the value of the last arg (modulus)?
[can modulus be 0, 1, negative?]

Note: For mpz_pow_ui and mpz_ui_pow_ui the case 0^0 is clearly documented.

Thanks,
John Abbott


_______________________________________________
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to