位运算加减乘除

2017-10-10  本文已影响0人  98Future

加法:

carry = 进位 = AND

xor = remains.

减法:

The~operator flipsallthe bits; the1s (4 of them) become0s, and the0s (N-4 of them) become1s

乘法:递归

上一篇下一篇

猜你喜欢

热点阅读