Gray Code To Octal
How This Converter Works
Decodes a reflected binary Gray-code bit string containing only 0 and 1, then displays the non-negative integer in octal.
Formula or rule
Cumulatively XOR Gray bits to get binary, parse base 2, and format base 8.
Example
- Input
- 111011
- Calculation
- Gray 111011 → binary 101101₂ = 45₁₀ = 5×8 + 5.
- Result
- 55