I'd feel better if this just tried naively to divide the integers and let it throw an exception if there were divide by zero or over/underflow.