On Tuesday, 10 November 2015 at 01:29:11 UTC, Brian Schott wrote:
Yes. It's a hack that gives you a modulus without having to do a modulus. It only works on powers of two.

http://graphics.stanford.edu/~seander/bithacks.html#ModulusDivisionEasy

Reply via email to