Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 179 Bytes

README.md

File metadata and controls

5 lines (4 loc) · 179 Bytes

Exercise 2-9

In a two's complement number system, x &= (x - 1) deletes the rightmost 1-bit in x. Explain why. Use this observation to write a faster version of bitcount.