天天看點

特定條件下,可以使用與(&)操作,代替取模(&)

比如:

src_bit = src_x % 8      
src_bit = src_x & 0x07      
c