Special cases for big_pow.