Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, that unsets bit #0, not the lowest set bit in x.

Aka. that brings 01101₂→01100₂ correctly, but 01100₂→01100₂ instead of 01100₂→01000₂.



Ah, I completely misunderstood what the author was doing there.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: