Arun Mani
About Articles Library

#binary

All the posts with tag #binary

Why does x & -x equal to the largest power of 2 that divides x?

Or how to find the largest power of 2 that divides x?