Directory

Encyclopedia

NodeWorks
                              ENCYCLOPEDIA

Link Checker

Home
Encyclopedia : O : OC : OCT :

Octal

 

Octal

The octal numeral system is the base-8 number system, and uses the digits 0 to 7.

It is reported that the Yuki Native Americans of California used an octal system because they counted using the spaces between their fingers rather than the fingers themselves. Octal counting may have been used in the past instead of decimal counting, by counting the spaces like the Yuki or by counting the fingers other than the thumbs. This may explain why the Latin word novem (nine) is so much like the word novus (new). It may have meant a new number.

Donald Knuth wrote in his book The Art of Computer Programming that King Charles XII of Sweden was the inventor of octal in Europe. 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). It is also used for digital displays. 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).

See also

  • Computer numbering formats



  • NodeWorks boosts web surfing!
    Page Returned in 0.091 seconds - HTML Compressed 68.0%

    This article is from Wikipedia. All text is available
    under the terms of the GNU Free Documentation License.
     GNU Free Documentation License
    © 2008 Chamas Enterprises Inc.