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
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