Arun Mani personal blog
Why is x & -x equal to the largest power of 2 that divides x?
Or how to find the largest power of 2 that divides x?
- Points
- 176
- HN comments
- 63
- Submissions
- 1
- Cited by
- 0 commenters
Math & AlgorithmsSoftware Engineering2024
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| May 25, 2024 | Why is x & -x equal to the largest power of 2 that divides x? by arun-mani-j | 176 | 63 |