Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这个表达式在十进制系统中有什么解释吗?换句话说,它是使用逻辑运算代替算术运算的有效计算实现吗?
1) 一个数字 N 加上一个十六进制,即 (N+0x7f) 2) 对相同的十六进制进行按位与运算。
(N+0x7f) & (~0x7f)?
它将 N 更改为大于 N 的最接近的 0x7F 倍数。