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

mod operation

工作和技术 crifan 1652浏览 0评论

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

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
79 queries in 0.152 seconds, using 22.02MB memory