Hot answers tagged octal
According to Wikipedia, octals aren't as common as they used to be. As others have already mentioned, in the past, systems used to have a 12/24/36-bit word, which is more easily represented in octal than hexadecimal, but currently, the x86 and i64 architectures use a 16/32/64 bit word, which is more easily represented in hexadecimal and downward ugly in ...
Octal was widely used some 50 years ago by Digital Equipment Corp. (DEC) and other companies that had computers with a 12-bit word (e.g. the PDP-8) or other multiples of six, such as 18 and 36 (e.g. UNIVAC 1108). I used both the PDP-8 and UNIVAC 1108 in grad school. Characters in both machines typically used six bits, not 8. PDP-8 instruction format -- ...
Heathkit used them for the front panel of their H-8, and for assembly language listings of their front-panel software (called PAM-8). Dating myself, I know. Nowadays octals are very rare; everyone seems to use hex. But numbers still look like numbers in octal, and you don't need an additional row of keys for the digits A through F.
http://en.wikipedia.org/wiki/List_of_numeral_systems Minutes and seconds use base60, base64 encoding uses base64 (doh), radian angles use Pi as base, us stocks used to have weird fractions instead of decimals, dates have irregular base (different amount of days in month) and so on. In general - any system can prove useful under certain conditions, but most ...
Anybody who needs to express combinations of bits grouped in threes. Why does anyone use hex? Things off the top of my head that are expressed as octal numbers: Codes squawked by Mode 3A transponders in airplanes Certain values found on the ARINC 429 avionics bus SCSI addresses Key codes in the ncurses library
For the sake of theoretical computer science, the branch of abstract mathematics, everything is either done conveniently in base10, which we normally operate in, or base2, because it's the simplest to reason about. In the more general sense of computer science, meaning the things you're likely to study for a CS degree, the situation is very similar. ...
Like Hex, Octal numbers are easy to convert from binary. Just group the binary digits in groups of three, starting at the right. 10010101110 // binary // conversion (010)(010)(101)(110) // so, in octal we have... (2)(2)(5)(6) 2256 10010101110 (base 2) == 2256 (base 8)
Only top voted, non community-wiki answers of a minimum length are eligible