Move the check for `minus_one` from `div` to `pow`