Re:Testing for Divisibility by 19
by al2o3cr on Monday November 23, 2020 @08:32AM
(#25186548)
There's an extensive section in Hacker's Delight (https://en.wikipedia.org/wiki/Hacker%27s_Delight) that derives 32-bit constants that, when used with 32x32 -> 32 multiplication, produce division by small constants.
[ Parent
| on HN ]
There are no comments on this comment yet.