开发者

What does this expression do?

Is there any interpretation of this expression in the decimal system? In other words, is it an efficient implementation of calculation using the lo开发者_开发问答gical operation in place of arithmetic operation?

1) A number N plus a hexadecimal, i.e. (N+0x7f) 2) take the bitwise AND with the bitwise NOT of the same hexadecimal.

(N+0x7f) & (~0x7f)?


It is changing N to the closest multiple of 0x7F which is greater than N.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜