Commit 8dd4f405 authored by Committed by Marge BotBrowse files
Bignum: implement integerPowMod (#18427)
Incidentally fix powModInteger which was crashing in integer-gmp for negative exponents when the modular multiplicative inverse for the base didn't exist. Now we compute it explicitly with integerRecipMod so that every backend returns the same result without crashing.
Showing with 190 additions and 60 deletions