I want to compare with integers in C, and the problem is to find the least significant bit that is different. What is the fastest way in C for this?
Example:
Bit 3210
The result here should be 2, because bit 2 is the first bit that is different.
c bit-manipulation
Jhnet
source share