请输入您要查询的百科知识:

 

词条 Bi-quinary coded decimal
释义

  1. Examples

  2. References

  3. See also

Bi-quinary coded decimal is a numeral encoding scheme used in many abacuses and in some early computers, including the Colossus. The term bi-quinary indicates that the code comprises both a two-state (bi) and a five-state (quinary) component. The encoding resembles that used by many abaci, with four beads indicating either 0 through 4 or 5 through 9 and another bead indicating which of those ranges.

Several human languages, most notably Khmer and Wolof, also use biquinary systems. For example, the Khmer word for 6, pram muoy, literally means five [plus] one. The numerals from 0 to 9 in Japanese Sign Language is based on bi-quinary, with the thumb acting as 5 units, and the rest of the fingers each standing for 1 unit.

Examples

Several different representations of bi-quinary coded decimal have been used by different machines. The two-state component is encoded as one or two bits, and the five-state component is encoded using three to five bits. Some examples are:

  • Roman and Chinese abacuses
  • Stibitz relay calculators at Bell Labs from Model II onwards
  • IBM 650 – seven bits

Two bi bits: 0 5 and five quinary bits: 0 1 2 3 4, with error checking.

Exactly one bi bit and one quinary bit is set in a valid digit. In the pictures of the front panel below and in close-up, the bi-quinary encoding of the internal workings of the machine are evident in the arrangement of the lights – the bi bits form the top of a T for each digit, and the quinary bits form the vertical stem.

(the machine was running when the photograph was taken and the active bits are visible in the close-up and just discernible in the full panel picture)

Value 05-01234 bits
IBM 650 front panel
0 10-10000
1 10-01000
2 10-00100
3 10-00010
4 10-00001
5 01-10000
6 01-01000
7 01-00100
8 01-00010
9 01-00001
  • Remington Rand 409 - five bits

One quinary bit (tube) for each of 1, 3, 5, and 7 - only one of these would be on at the time.

The fifth bi bit represented 9 if none of the others were on; otherwise it added 1 to the value represented by the other quinary bit.

(sold in the two models UNIVAC 60 and UNIVAC 120)

Value 1357-9 bits
0 0000-0
1 1000-0
2 1000-1
3 0100-0
4 0100-1
5 0010-0
6 0010-1
7 0001-0
8 0001-1
9 0000-1
  • UNIVAC Solid State – four bits

One bi bit: 5, three binary coded quinary bits: 4 2 1 and one parity check bit

Value p-5-421 bits
0 1-0-000
1 0-0-001
2 0-0-010
3 1-0-011
4 0-0-100
5 0-1-000
6 1-1-001
7 1-1-010
8 0-1-011
9 1-1-100
  • Univac LARC – four bits

One bi bit: 5, three ring counter coded quinary bits and one parity check bit

Value p-5-qqq bits
0 1-0-000
1 0-0-001
2 1-0-011
3 0-0-111
4 1-0-110
5 0-1-000
6 1-1-001
7 0-1-011
8 1-1-111
9 0-1-110

References

See also

  • Binary-coded decimal
  • Binary numeral system
  • Chisanbop
  • Quinary numeral system
  • Two-out-of-five code
{{DEFAULTSORT:Bi-Quinary Coded Decimal}}

2 : Numeral systems|Computer arithmetic

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/21 12:37:42