Chapman Flack wrote: > know 0 <= a/b < 1, you can cast the result back to intm_t to have an I was thinking uint in the above and writing int. If you need signed arithmetic there's a little more work to deal with the sign, but the principles are otherwise the same. -Chap