Helbig observed
while wondering how unsigned integer division is
implemented in C
I found a bug in V7: a/b and a%b with b >= 2^15 does not give the expected
results, if a and b are unsigned int's.
Does
http://www.cs.bell-labs.com/who/dmr/odd.html#muldiv
suffice to explain the behavior?
Dennis