15 ms·
Converting between gray code and binary is even easier than stated: take the XOR of adjacent bits. That's it.
by JoeAltmaier 17y ago
Converting between gray code and binary is even easier than stated: take the XOR of adjacent bits. That's it.
- eru 17y agoThat's the same as stated in the article: Obviously the XOR only changes stuff, when there's at least one 1 involved.