[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
>>
>>100175523
10000
>>
>>100175594
10001
>>
0110
1011
0111
1001
0111
0011
>>
>>100175523
gray codes are better: https://en.wikipedia.org/wiki/Gray_code
0000
0001
0011
0010
0110
0111
0101
0100
1100
1101
1111
1110
1010
1011
1001
1000
theyre special because popcount(a ^ b) is 1 if a = b + 1 or b = a + 1
you can use them for error correction
>>
>>100175669
you go champ and design an int type that stores numbers in gray code and tell me how it goes
>>
>>100175635
6, 12, 7, 9, 7, 3?
>>
>>100175669
this is the dumbest shit ever because you can build a turning complete computer using only d flip flips
you can't do that with gray codes



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.