Computes the b-th power of a in $\mathbb{Z}/p\mathbb{Z}$. This function is here to also deal with large p.
-- -*- M2-comint -*- {* hash: 235497576 *}
The object modularPower is a method function.