Divide two integers without division
Divide two integers without using multiplication, division or the modulo operator, truncating toward zero. Do better than subtracting the divisor one copy at a time by doubling it with bit shifts, and handle negative numbers and overflow at the 32-bit limits.
No answer yet. Write the first one; the best answer gets endorsed.
