Re:How do compilers optimize divisions?
by raphlinus on Tuesday February 21, 2017 @01:54PM
(#13698313)
An even trickier way to do this is to rotate right by the power of two factor between doing the multiply and the compare.
[ Parent
| on HN ]