public BigInteger Pow (BigInteger b, BigInteger exp) { if ((mod.data [0] & 1) == 1) return OddPow (b, exp); else return EvenPow (b, exp); }