Expand integral powers of complex nos

The `pow_number` needs further checks for overflow.

I don't like that we are repeating this logic here, because we already have it in `pow`. So we should refactor this into some function and call it from both places.