2 ms·
n & -n is an old trick that gives a number with a single bit in it, the bottom bit that was set in n, the & operator takes precedence I believe.
by airbreather 4y ago
n & -n is an old trick that gives a number with a single bit in it, the bottom bit that was set in n, the & operator takes precedence I believe.