News for hackers. Stuff that matters.
Re:Absolute Beginner's Guide to Bit Shifting by pjscott on Sunday March 04, 2012 @04:37PM (#3664110)
Here's an article explaining the trick:

http://ridiculousfish.com/blog/posts/labor-of-division-episo...

And a library from the same guy for generating code at runtime to do fast division by constants:

http://libdivide.com/

There are no comments on this comment yet.