Content deleted Content added
REDACTED403 (talk | contribs) m Reverted edits by 83.0.94.101 (talk) (HG) (3.4.12) |
No edit summary Tags: Manual revert Reverted |
||
Line 3:
{{Gray code by bit width}}
The '''reflected binary code''' ('''
For example, the representation of the decimal value "1" in binary would normally be "{{mono|001}}" and "2" would be "{{mono|010}}". In Gray code, these values are represented as "{{mono|001}}" and "{{mono|011}}". That way, incrementing a value from 1 to 2 requires only one bit to change, instead of two.
|