Find the lowest set bit

前端 未结 4 1750
名媛妹妹
名媛妹妹 2021-01-06 21:07

I have 5 bit numbers like

10000
01000
00100

If only one bit is on in my calculation i have no problem.

but if 2 bits are on then I

4条回答
提交回复
热议问题