triffid/Teacup_Firmware — comment on commit 9dbfa7217e0de8b140846ab480d6b4a7fc9b6791
File:  line 0
By phord:

http://libdivide.com/ looks promising, but I want to test it quite a lot. I was originally hoping to convert "steps per 1,000,000 um" to "steps per 2^20 um", the idea being that dividing by 2^20 is a single instruction (x>>20), but of course it has to be handled better than that to maintain high and low precision.