def divide(dividend, divisor): s = sign(dividend) * sign(divisor) q, r = divide_step(abs(dividend), abs(divisor), 1) return overflow32(s * q)
def divide(dividend, divisor): s = sign(dividend) * sign(divisor) q, r = divide_step(abs(dividend), abs(divisor), 1) return overflow32(s*q)
def reverse(x): n = sign(x) * digits2int_b(int2digits(abs(x))) return overflow32(n, 0, 0)