Returning early with obvious result for integer powers.