最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

mod operation

工作和技术 crifan 2045浏览

mod operation is always do like this:

b = a mod 32;

and, a simple but efficient one is like this :

nBits &= 0x1f;

use & by bit is more efficient ,I think .

转载请注明:在路上 » mod operation

82 queries in 0.179 seconds, using 19.30MB memory