lowbit函数

lowbit函数

lowbit(10010)=10

lowbit(10010001)=1

lowbit(100100000)=100000

正数的原码、补码都是它自己

负数(-5为例):

原码:10000100

反码:111110110

补码:111110111

lowbit(x)=x&(-x)

Comments

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×