Octal: Difference between revisions

486 bytes added ,  14 years ago
m
(New page: Category:EncyclopediaOctal is a counting system that uses eight digits. Instead of using only 0's and 1's like binary, or the characters '0' to '9' of the decimal number system; octal...)
 
 
(4 intermediate revisions by 3 users not shown)
Line 6:
The octal number system was used widely in the Electronics and Computer Industry, as although digital electronics is based on gates with only two states and is therefore fundamentally binary, binary numbers can quickly become long and hard to transcribe without errors. Their octal equivalents are much shorter and easier to remember, and have a straight-forward way of conversion to/from binary.
 
The [http://en.wikipedia.org/wiki/Pdp-11 PDP-11] computer made by the [http://en.wikipedia.org/wiki/Digital_Equipment_Corporation Digital Equipment Corporation] used the octal numeric system exclusively for displaying memory addresses and content.
The use of octal numbers has declined as most modern computers no longer base their word length on multiples of three bits, (they are based on multiples of four bits).
 
[[Unix]] file system permissions have three sets (user, group, others) of three bit permissions (read, write, execute), which is naturally represented in octal.
 
The use of octal numbers has declined as most modern computers no longer base their word length on multiples of three bits, (they are based on multiples of four bits, so [[hexadecimal]] is more widely used).
 
== Comparing counts from zero in different number systems ==
C.f. [[Common number base conversionsformatting]] and [[Common number base parsing]]
Binary
Octal
Line 39 ⟶ 43:
# Split a binary number into groups of three digits, counting from right to left.
# Pad the leftmost group of binary digits with zeros on their left if their are less than three digits.
# Use the following table to translate each group of fourthree binary digits, in order, to its octal equivalent.
Binary digits
Octal equivalent digit
Anonymous user