Feb 23, 2008

Find modulo (1 << k) division without using division

m = n & (d - 1); where d= (1 << k)

No comments: