You are viewing a single comment's thread. Return to all comments →
long flippingBits(long n) { long fb=4294967295&(~n); return fb; }
Bitwise AND highest 32 bit number with the NOT of N.
Seems like cookies are disabled on this browser, please enable them to open this website
Flipping bits
You are viewing a single comment's thread. Return to all comments →
Bitwise AND highest 32 bit number with the NOT of N.