It looks like you're new here. If you want to get involved, click one of these buttons!
For unsigned division we may use the following
a/b == (int)(((2^32)+b-1)/b) * (a) / (2^32)
but does it hold for signed division?
can anyone recall michael abrash's code for doing
fast signed division. i guess he had
discussed in the mar 92 issue of Dr dobb's.