Octal Octal

Octal - Definition and Overview

The octal numeral system is the base-8 number system, and uses the digits 0–7. According to Donald Knuth's The Art of Computer Programming, it was invented by King Charles XII of Sweden.

Octal numerals can be made from binary numerals by grouping consecutive digits into groups of three (starting from the right). For example, the binary representation for decimal 74 is 1001010, which groups into 1 001 010 — so the octal representation is 112.

Octal is sometimes used in computing instead of hexadecimal, perhaps most often in conjunction with file permissions under UNIX systems (see Chmod). It has the advantage of not requiring any extra symbols as digits (the hexadecimal system is base-16 and therefore needs six additional symbols beyond 0–9). However it has a disadvantage in that while two hex digits make a byte, three octal digits would be required, with the most significant octal digit inelegantly representing only two binary digits (and in a series the same octal digit would represent one binary digit from the next byte).

Octal counting may have been used in the past instead of decimal counting, by counting either the gaps between fingers or the non-thumb fingers. This may explain why the Latin for nine novem is so much like the Latin for new novus. It may have meant new number.

See also

Example Usage of Octal

d2boh: decimal[ 117 ], binary[ 1110101 ], Octal[ 165 ], hex[ 75 ]
octal: @an4rky yeah, first visit to .in. Interesting, but not on my top-20 places list. South America, East Asia, Pac Northwest, and AU/NZ ftw.
octal: Not totally happy with 2mo rental apartment in SoMA, but it's good enough; looking again in Feb2010, not sure where (SFBA or PNW)
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.