Binary number: Difference between revisions

Content deleted Content added
Line 333:
===Octal===
Binary is also easily converted to the [[octal]] numeral system, since octal uses a radix of 8, which is a [[power of two]] (namely, 2<sup>3</sup>, so it takes exactly three binary digits to represent an octal digit). The correspondence between octal and binary numerals is the same as for the first eight digits of hexadecimal in the table above. Binary 000 is equivalent to the octal digit 0, binary 111 is equivalent to octal 7, and so on.
 
{| border=1
!Oct!!Binary!!Oct!!Binary!!Oct!!Binary!!Oct!!Binary
|-
|align=center|0||align=center|000||align=center|4||align=center|100|
|-
|align=center|1||align=center|001||align=center|5||align=center|101|
|-
|align=center|2||align=center|010||align=center|6||align=center|110|
|-
|align=center|3||align=center|011||align=center|7||align=center|111|
|}
 
Converting from octal to decimal proceeds in the same fashion as it does for hexadecimal: