Chen–Ho encoding
Chen–Ho encoding is a memory-efficient alternate system of binary encoding for decimal digits.
The traditional system of binary encoding for decimal digits, known as binary-coded decimal (BCD), uses four bits to encode each digit, resulting in significant wastage of binary data bandwidth (since four bits can store 16 states and are being used to store only 10),[1] even when using packed BCD.
The encoding reduces the storage requirements of two decimal digits (100 states) from 8 to 7 bits, and those of three decimal digits (1000 states) from 12 to 10 bits using only simple Boolean transformations avoiding any complex arithmetic operations like a base conversion.
History
In what appears to have been a multiple discovery, some of the concepts behind what later became known as Chen–Ho encoding were independently developed by Theodore M. Hertz in 1969[2] and by Tien Chi Chen (陳天機) (1928–)[3][4][5][6] in 1971.
Hertz of Rockwell filed a patent for his encoding in 1969, which was granted in 1971.[2]
Chen first discussed his ideas with Irving Tze Ho (何宜慈) (1921–2003)[7][8][9][10] in 1971. Chen and Ho were both working for IBM at the time, albeit in different locations.[11][12] Chen also consulted with Frank Chin Tung[13] to verify the results of his theories independently.[12] IBM filed a patent in their name in 1973, which was granted in 1974.[14] At least by 1973, Hertz's earlier work must have been known to them, as the patent cites his patent as prior art.[14]
With input from Joseph D. Rutledge and John C. McPherson,[15] the final version of the Chen–Ho encoding was circulated inside IBM in 1974[16] and published in 1975 in the journal Communications of the ACM.[15][17] This version included several refinements, primarily related to the application of the encoding system. It constitutes a Huffman-like prefix code.
The encoding was referred to as Chen and Ho's scheme in 1975,[18] Chen's encoding in 1982[19] and became known as Chen–Ho encoding or Chen–Ho algorithm since 2000.[17] After having filed a patent for it in 2001,[20] Michael F. Cowlishaw published a further refinement of Chen–Ho encoding known as densely packed decimal (DPD) encoding in IEE Proceedings – Computers and Digital Techniques in 2002.[21][22] DPD has subsequently been adopted as the decimal encoding used in the IEEE 754-2008 and ISO/IEC/IEEE 60559:2011 floating-point standards.
Application
Chen noted that the digits zero through seven were simply encoded using three binary digits of the corresponding octal group. He also postulated that one could use a flag to identify a different encoding for the digits eight and nine, which would be encoded using a single bit.
In practice, a series of Boolean transformations are applied to the stream of input bits, compressing BCD encoded digits from 12 bits per three digits to 10 bits per three digits. Reversed transformations are used to decode the resulting coded stream to BCD. Equivalent results can also be achieved by the use of a look-up table.
Chen–Ho encoding is limited to encoding sets of three decimal digits into groups of 10 bits (so called declets).[1] Of the 1024 states possible by using 10 bits, it leaves only 24 states unused[1] (with don't care bits typically set to 0 on write and ignored on read). With only 2.34% wastage it gives a 20% more efficient encoding than BCD with one digit in 4 bits.[12][17]
Both, Hertz and Chen also proposed similar, but less efficient, encoding schemes to compress sets of two decimal digits (requiring 8 bits in BCD) into groups of 7 bits.[2][12]
Larger sets of decimal digits could be divided into three- and two-digit groups.[2]
The patents also discuss the possibility to adapt the scheme to digits encoded in any other decimal codes than 8-4-2-1 BCD,[2] like f.e. Excess-3,[2] Excess-6, Jump-at-2, Jump-at-8, Gray, Glixon, O'Brien type-I and Gray–Stibitz code.[lower-alpha 1] The same principles could also be applied to other bases.
In 1973, some form of Chen–Ho encoding appears to have been utilized in the address conversion hardware of the optional IBM 7070/7074 emulation feature for the IBM System/370 Model 165 and 370 Model 168 computers.[23][24]
One prominent application uses a 128-bit register to store 33 decimal digits with a three digit exponent, effectively not less than what could be achieved using binary encoding (whereas BCD encoding would need 144 bits to store the same number of digits).
Encodings for two decimal digits
Hertz encoding
Binary encoding | Decimal digits | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Code space (128 states) | b6 | b5 | b4 | b3 | b2 | b1 | b0 | d1 | d0 | Values encoded | Description | Occurrences (100 states) | |
50% (64 states) | 0 | a | b | c | d | e | f | 0abc | 0def | (0–7) (0–7) | Two lower digits | 64% (64 states) | |
12.5% (16 states) | 1 | 1 | 0 | c | d | e | f | 100c | 0def | (8–9) (0–7) | One lower digit, one higher digit |
16% (16 states) | |
12.5% (16 states) | 1 | 0 | 1 | f | a | b | c | 0abc | 100f | (0–7) (8–9) | 16% (16 states) | ||
12.5% (16 states, 4 used) | 1 | 1 | 1 | c | x | x | f | 100c | 100f | (8–9) (8–9) | Two higher digits | 4% (4 states) | |
12.5% (16 states, 0 used) | 1 | 0 | 0 | x | x | x | x | 0% (0 states) |
- This encoding is not parity-preserving.
Early Chen–Ho encoding, method A
Binary encoding | Decimal digits | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Code space (128 states) | b6 | b5 | b4 | b3 | b2 | b1 | b0 | d1 | d0 | Values encoded | Description | Occurrences (100 states) | |
50% (64 states) | 0 | a | b | c | d | e | f | 0abc | 0def | (0–7) (0–7) | Two lower digits | 64% (64 states) | |
25% (32 states, 16 used) | 1 | 0 | x[12] (b)[15] | c | d | e | f | 100c | 0def | (8–9) (0–7) | One lower digit, one higher digit |
16% (16 states) | |
12.5% (16 states) | 1 | 1 | 0 | f | a | b | c | 0abc | 100f | (0–7) (8–9) | 16% (16 states) | ||
12.5% (16 states, 4 used) | 1 | 1 | 1 | c | x[12] (a)[15] | x[12] (b)[15] | f | 100c | 100f | (8–9) (8–9) | Two higher digits | 4% (4 states) |
- This encoding is not parity-preserving.
Early Chen–Ho encoding, method B
Binary encoding | Decimal digits | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Code space (128 states) | b6 | b5 | b4 | b3 | b2 | b1 | b0 | d1 | d0 | Values encoded | Description | Occurrences (100 states) | |
50% (64 states) | 0 | a | b | c | d | e | f | 0abc | 0def | (0–7) (0–7) | Two lower digits | 64% (64 states) | |
12.5% (16 states) | 1 | 0 | c | 0 | d | e | f | 100c | 0def | (8–9) (0–7) | One lower digit, one higher digit |
16% (16 states) | |
12.5% (16 states, 4 used) | 1 | 0 | c | 1 | x | x | f | 100c | 100f | (8–9) (8–9) | Two higher digits | 4% (4 states) | |
12.5% (16 states) | 1 | 1 | f | 0 | a | b | c | 0abc | 100f | (0–7) (8–9) | One lower digit, one higher digit |
16% (16 states) | |
12.5% (16 states, 0 used) | 1 | 1 | x | 1 | x | x | x | 0% (0 states) |
- This encoding is not parity-preserving.
Patented and final Chen–Ho encoding
Binary encoding | Decimal digits | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Code space (128 states) | b6 | b5 | b4 | b3 | b2 | b1 | b0 | d1 | d0 | Values encoded | Description | Occurrences (100 states) | |
50% (64 states) | 0 | a | b | c | d | e | f | 0abc | 0def | (0–7) (0–7) | Two lower digits | 64% (64 states) | |
25.0% (32 states, 16 used) | 1 | 0 | x[14] (b)[15] | c | d | e | f | 100c | 0def | (8–9) (0–7) | One lower digit, one higher digit |
16% (16 states) | |
12.5% (16 states) | 1 | 1 | 1 | c | a | b | f | 0abc | 100f | (0–7) (8–9) | 16% (16 states) | ||
12.5% (16 states, 4 used) | 1 | 1 | 0 | c | x[14] (a)[15] | x[14] (b)[15] | f | 100c | 100f | (8–9) (8–9) | Two higher digits | 4% (4 states) |
- Assuming certain values for the don't-care bits (f.e. 0), this encoding is parity-preserving.[14][15]
Encodings for three decimal digits
Hertz encoding
Binary encoding | Decimal digits | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Code space (1024 states) | b9 | b8 | b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 | d2 | d1 | d0 | Values encoded | Description | Occurrences (1000 states) | |
50.0% (512 states) | 0 | a | b | c | d | e | f | g | h | i | 0abc | 0def | 0ghi | (0–7) (0–7) (0–7) | Three lower digits | 51.2% (512 states) | |
37.5% (384 states) | 1 | 0 | 0 | c | d | e | f | g | h | i | 100c | 0def | 0ghi | (8–9) (0–7) (0–7) | Two lower digits, one higher digit |
38.4% (384 states) | |
1 | 0 | 1 | f | a | b | c | g | h | i | 0abc | 100f | 0ghi | (0–7) (8–9) (0–7) | ||||
1 | 1 | 0 | i | a | b | c | d | e | f | 0abc | 0def | 100i | (0–7) (0–7) (8–9) | ||||
9.375% (96 states) | 1 | 1 | 1 | f | 0 | 0 | i | a | b | c | 0abc | 100f | 100i | (0–7) (8–9) (8–9) | One lower digit, two higher digits |
9.6% (96 states) | |
1 | 1 | 1 | c | 0 | 1 | i | d | e | f | 100c | 0def | 100i | (8–9) (0–7) (8–9) | ||||
1 | 1 | 1 | c | 1 | 0 | f | g | h | i | 100c | 100f | 0ghi | (8–9) (8–9) (0–7) | ||||
3.125% (32 states, 8 used) | 1 | 1 | 1 | c | 1 | 1 | f | (0) | (0) | i | 100c | 100f | 100i | (8–9) (8–9) (8–9) | Three higher digits, bits b2 and b1 are don't care | 0.8% (8 states) |
- This encoding is not parity-preserving.
Early Chen–Ho encoding
Binary encoding | Decimal digits | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Code space (1024 states) | b9 | b8 | b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 | d2 | d1 | d0 | Values encoded | Description | Occurrences (1000 states) | |
50.0% (512 states) | 0 | a | b | c | d | e | f | g | h | i | 0abc | 0def | 0ghi | (0–7) (0–7) (0–7) | Three lower digits | 51.2% (512 states) | |
37.5% (384 states) | 1 | 0 | 0 | c | d | e | f | g | h | i | 100c | 0def | 0ghi | (8–9) (0–7) (0–7) | Two lower digits, one higher digit |
38.4% (384 states) | |
1 | 0 | 1 | f | g | h | i | a | b | c | 0abc | 100f | 0ghi | (0–7) (8–9) (0–7) | ||||
1 | 1 | 0 | i | a | b | c | d | e | f | 0abc | 0def | 100i | (0–7) (0–7) (8–9) | ||||
9.375% (96 states) | 1 | 1 | 1 | 0 | 0 | f | i | a | b | c | 0abc | 100f | 100i | (0–7) (8–9) (8–9) | One lower digit, two higher digits |
9.6% (96 states) | |
1 | 1 | 1 | 0 | 1 | i | c | d | e | f | 100c | 0def | 100i | (8–9) (0–7) (8–9) | ||||
1 | 1 | 1 | 1 | 0 | c | f | g | h | i | 100c | 100f | 0ghi | (8–9) (8–9) (0–7) | ||||
3.125% (32 states, 8 used) | 1 | 1 | 1 | 1 | 1 | c | f | i | (0) | (0) | 100c | 100f | 100i | (8–9) (8–9) (8–9) | Three higher digits, bits b1 and b0 are don't care | 0.8% (8 states) |
- This encoding is not parity-preserving.
Patented Chen–Ho encoding
Binary encoding | Decimal digits | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Code space (1024 states) | b9 | b8 | b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 | d2 | d1 | d0 | Values encoded | Description | Occurrences (1000 states) | |
50.0% (512 states) | 0 | a | b | d | e | g | h | c | f | i | 0abc | 0def | 0ghi | (0–7) (0–7) (0–7) | Three lower digits | 51.2% (512 states) | |
37.5% (384 states) | 1 | 0 | 0 | d | e | g | h | c | f | i | 100c | 0def | 0ghi | (8–9) (0–7) (0–7) | Two lower digits, one higher digit |
38.4% (384 states) | |
1 | 0 | 1 | a | b | g | h | c | f | i | 0abc | 100f | 0ghi | (0–7) (8–9) (0–7) | ||||
1 | 1 | 0 | d | e | a | b | c | f | i | 0abc | 0def | 100i | (0–7) (0–7) (8–9) | ||||
9.375% (96 states) | 1 | 1 | 1 | 1 | 0 | a | b | c | f | i | 0abc | 100f | 100i | (0–7) (8–9) (8–9) | One lower digit, two higher digits |
9.6% (96 states) | |
1 | 1 | 1 | 0 | 1 | d | e | c | f | i | 100c | 0def | 100i | (8–9) (0–7) (8–9) | ||||
1 | 1 | 1 | 0 | 0 | g | h | c | f | i | 100c | 100f | 0ghi | (8–9) (8–9) (0–7) | ||||
3.125% (32 states, 8 used) | 1 | 1 | 1 | 1 | 1 | (0) | (0) | c | f | i | 100c | 100f | 100i | (8–9) (8–9) (8–9) | Three higher digits, bits b4 and b3 are don't care | 0.8% (8 states) |
- This encoding is not parity-preserving.[14]
Final Chen–Ho encoding
Binary encoding | Decimal digits | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Code space (1024 states) | b9 | b8 | b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 | d2 | d1 | d0 | Values encoded | Description | Occurrences (1000 states) | |
50.0% (512 states) | 0 | a | b | c | d | e | f | g | h | i | 0abc | 0def | 0ghi | (0–7) (0–7) (0–7) | Three lower digits | 51.2% (512 states) | |
37.5% (384 states) | 1 | 0 | 0 | c | d | e | f | g | h | i | 100c | 0def | 0ghi | (8–9) (0–7) (0–7) | Two lower digits, one higher digit |
38.4% (384 states) | |
1 | 0 | 1 | c | a | b | f | g | h | i | 0abc | 100f | 0ghi | (0–7) (8–9) (0–7) | ||||
1 | 1 | 0 | c | d | e | f | a | b | i | 0abc | 0def | 100i | (0–7) (0–7) (8–9) | ||||
9.375% (96 states) | 1 | 1 | 1 | c | 0 | 0 | f | a | b | i | 0abc | 100f | 100i | (0–7) (8–9) (8–9) | One lower digit, two higher digits |
9.6% (96 states) | |
1 | 1 | 1 | c | 0 | 1 | f | d | e | i | 100c | 0def | 100i | (8–9) (0–7) (8–9) | ||||
1 | 1 | 1 | c | 1 | 0 | f | g | h | i | 100c | 100f | 0ghi | (8–9) (8–9) (0–7) | ||||
3.125% (32 states, 8 used) | 1 | 1 | 1 | c | 1 | 1 | f | (0) | (0) | i | 100c | 100f | 100i | (8–9) (8–9) (8–9) | Three higher digits, bits b2 and b1 are don't care | 0.8% (8 states) |
- This encoding is not parity-preserving.[15]
Storage efficiency
BCD | Necessary bits | Bit difference | |||||||
---|---|---|---|---|---|---|---|---|---|
Digits | States | Bits | Binary code space | Binary encoding [A] | 2-digit encoding [B] | 3-digit encoding [C] | Mixed encoding | Mixed vs. Binary | Mixed vs. BCD |
1 | 10 | 4 | 16 | 4 | (7) | (10) | 4 [1×A] | 0 | 0 |
2 | 100 | 8 | 128 | 7 | 7 | (10) | 7 [1×B] | 0 | −1 |
3 | 1000 | 12 | 1024 | 10 | (14) | 10 | 10 [1×C] | 0 | −2 |
4 | 10000 | 16 | 16384 | 14 | 14 | (20) | 14 [2×B] | 0 | −2 |
5 | 100000 | 20 | 131072 | 17 | (21) | (20) | 17 [1×C+1×B] | 0 | −3 |
6 | 1000000 | 24 | 1048576 | 20 | 21 | 20 | 20 [2×C] | 0 | −4 |
7 | 10000000 | 28 | 16777216 | 24 | (28) | (30) | 24 [2×C+1×A] | 0 | −4 |
8 | 100000000 | 32 | 134217728 | 27 | 28 | (30) | 27 [2×C+1×B] | 0 | −5 |
9 | 1000000000 | 36 | 1073741824 | 30 | (35) | 30 | 30 [3×C] | 0 | −6 |
10 | 10000000000 | 40 | 17179869184 | 34 | 35 | (40) | 34 [3×C+1×A] | 0 | −6 |
11 | 100000000000 | 44 | 137438953472 | 37 | (42) | (40) | 37 [3×C+1×B] | 0 | −7 |
12 | 1000000000000 | 48 | 1099511627776 | 40 | 42 | 40 | 40 [4×C] | 0 | −8 |
13 | 10000000000000 | 52 | 17592186044416 | 44 | (49) | (50) | 44 [4×C+1×A] | 0 | −8 |
14 | 100000000000000 | 56 | 140737488355328 | 47 | 49 | (50) | 47 [4×C+1×B] | 0 | −9 |
15 | 1000000000000000 | 60 | 1125899906842624 | 50 | (56) | 50 | 50 [5×C] | 0 | −10 |
16 | 10000000000000000 | 64 | 18014398509481984 | 54 | 56 | (60) | 54 [5×C+1×A] | 0 | −10 |
17 | 100000000000000000 | 68 | 144115188075855872 | 57 | (63) | (60) | 57 [5×C+1×B] | 0 | −11 |
18 | 1000000000000000000 | 72 | 1152921504606846976 | 60 | 63 | 60 | 60 [6×C] | 0 | −12 |
19 | 10000000000000000000 | 76 | 18446744073709551616 | 64 | (70) | (70) | 64 [6×C+1×A] | 0 | −12 |
20 | … | 80 | … | 67 | 70 | (70) | 67 [6×C+1×B] | 0 | −13 |
21 | … | 84 | … | 70 | (77) | 70 | 70 [7×C] | 0 | −14 |
22 | … | 88 | … | 74 | 77 | (80) | 74 [7×C+1×A] | 0 | −14 |
23 | … | 92 | … | 77 | (84) | (80) | 77 [7×C+1×B] | 0 | −15 |
24 | … | 96 | … | 80 | 84 | 80 | 80 [8×C] | 0 | −16 |
25 | … | 100 | … | 84 | (91) | (90) | 84 [8×C+1×A] | 0 | −16 |
26 | … | 104 | … | 87 | 91 | (90) | 87 [8×C+1×B] | 0 | −17 |
27 | … | 108 | … | 90 | (98) | 90 | 90 [9×C] | 0 | −18 |
28 | … | 112 | … | 94 | 98 | (100) | 94 [9×C+1×A] | 0 | −18 |
29 | … | 116 | … | 97 | (105) | (100) | 97 [9×C+1×B] | 0 | −19 |
30 | … | 120 | … | 100 | 105 | 100 | 100 [10×C] | 0 | −20 |
31 | … | 124 | … | 103 | (112) | (110) | 104 [10×C+1×A] | +1 | −20 |
32 | … | 128 | … | 107 | 112 | (110) | 107 [10×C+1×B] | 0 | −21 |
33 | … | 132 | … | 110 | (119) | 110 | 110 [11×C] | 0 | −22 |
34 | … | 136 | … | 113 | 119 | (120) | 114 [11×C+1×A] | +1 | −22 |
35 | … | 140 | … | 117 | (126) | (120) | 117 [11×C+1×B] | 0 | −23 |
36 | … | 144 | … | 120 | 126 | 120 | 120 [12×C] | 0 | −24 |
37 | … | 148 | … | 123 | (133) | (130) | 124 [12×C+1×A] | +1 | −24 |
38 | … | 152 | … | 127 | 133 | (130) | 127 [12×C+1×B] | 0 | −25 |
… | … | … | … | … | … | … | … | … | … |
See also
- Binary-coded decimal (BCD)
- Densely packed decimal (DPD)
- DEC RADIX 50 / MOD40
- IBM SQUOZE
- Packed BCD
- Unicode transformation format (UTF) (similar encoding scheme)
- Length-limited Huffman code
Notes
- ↑ Some 4-bit decimal codes are particularly well suited as alternatives to the 8-4-2-1 BCD code: Jump-at-8 code uses the same values for the ordered states 0 to 7, whereas in the Gray BCD and Glixon codes the values for the states 0 to 7 are still from the same set, but ordered differently (which, however, is transparent for the Hertz, Chen–Ho or densely packed decimal (DPD) encodings, as they pass through the bits unaltered). In these four codes, the most-significant bit can be used as a flag denoting "large" values. For the two "large" values, all but one bits remain static (the two middle bits are always zero for 8-4-2-1 and one for Jump-at-8 code, whilst for Gray BCD code one bit is set and the other cleared, whereas for Glixon code the two lower bits are always zero and one bit inverted, thus the two "large" values being transparently swapped), requiring only minor adaptations in the encoding. Three other codes can be conveniently split into groups of eight and two states as well, containing values from two ranges of consecutive bit patterns. In the case of the and Excess-6 BCD and Jump-at-2 codes, the most-significant bit can still be used to distinguish between the two groups, however, compared to the Jump-at-8 code, the group of small values now contains only two states and the larger group contains the eight larger values. In the case of the O'Brien type-I and Gray–Stibitz code, the next-most significant bit can serve as a flag bit instead, with the remaining bits again forming two groups of consecutive values. Therefore, these differences remain transparent for the encoding.
References
- ↑ 1.0 1.1 1.2 Handbook of Floating-Point Arithmetic (1 ed.). Birkhäuser. 2010. doi:10.1007/978-0-8176-4705-6. ISBN 978-0-8176-4704-9. https://cds.cern.ch/record/1315760.
- ↑ 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 "System for the compact storage of decimal numbers". Whittier, California, USA: North American Rockwell Corporation. 1971-11-02. https://patents.google.com/patent/US3618047A. (8 pages) [1][2] (NB. This expired patent discusses a coding system very similar to Chen-Ho, also cited as prior art in the Chen–Ho patent.)
- ↑ "We hear that...". Physics Today (American Institute of Physics (AIP)) 12 (2): p. 62. 1959. doi:10.1063/1.3060696. ISSN 0031-9228. https://physicstoday.scitation.org/doi/abs/10.1063/1.3060696?journalCode=pto. (1 page)
- ↑ "Honorary Fellow - A Citation - Professor Chen Tien Chi". The Chinese University of Hong Kong (CUHK). 2003. https://www.cpr.cuhk.edu.hk/honfellow/Citation/en/2_chentienchi.pdf. (2 pages)
- ↑ "CHEN Tien Chi". The Chinese University of Hong Kong (CUHK). 2013-01-12. http://www.cse.cuhk.edu.hk/v7/en/people/tcchen.html.
- ↑ "Error: no
|title=
specified when using {{Cite web}}" (in zh, en). Classical Chinese Poems in English. 2014-08-15. http://chinesepoemsinenglish.blogspot.com/2014/07/chen-tien-chi-ru-meng-ling-as-if.html. - ↑ "Scientist Given Task To Set Up Science-Oriented Industrial Park". Science Bulletin (Taipei, Taiwan: National Science Council) 11 (2): p. 1. 1979-02-01. ISSN 1607-3509. OCLC 1658005. https://ejournal.stpi.narl.org.tw/index/items/download?viId=D9F1CC76-75FC-4440-8530-AC0B4B9CCE82&usg=AOvVaw0NgCMp2GIN8d2aXRbfhNMt. (1 page) [3]
- ↑ "High-Tech Leadership: Irving T. Ho". Taiwan Info. 1988-04-01. http://taiwaninfo.nat.gov.tw/ct.asp?xItem=105983&ctNode=124. [4]
- ↑ "Taiwan's Silicon Valley: The Evolution of Hsinchu Industrial Park". Freeman Spogli Institute for International Studies. Stanford University, Stanford, California, USA. 2000-01-11. http://fsi.stanford.edu/events/taiwans_silicon_valley_the_evolution_of_hsinchu_industrial_park.
- ↑ "Irving T. Ho". 2003-04-26. https://www.legacy.com/obituaries/mercurynews/obituary.aspx?n=irving-t-ho&pid=967196.
- ↑ Decimal-binary integer conversion scheme (Internal memo to Irving Tze Ho). IBM San Jose Research Laboratory, San Jose, California, USA: IBM. 1971-03-12.
- ↑ 12.0 12.1 12.2 12.3 12.4 12.5 12.6 12.7 12.8 12.9 Decimal Number Compression (Internal memo to Irving Tze Ho). IBM San Jose Research Laboratory, San Jose, California, USA: IBM. 1971-03-29. pp. 1–4. http://speleotrove.com/decimal/chen1971-memo-to-Ho.pdf. Retrieved 2016-02-07. (4 pages)
- ↑ "Error: no
|title=
specified when using {{Cite web}}" (in zh, en). Guangzhou, China: South China University of Technology (SCUT). 2004-08-04. http://www2.scut.edu.cn/software/news/news13.htm. - ↑ 14.0 14.1 14.2 14.3 14.4 14.5 14.6 14.7 14.8 "Binary coded decimal conversion apparatus". San Jose, California, USA & Poughkeepsie, New York, USA: International Business Machines Corporation (IBM). 1974-10-15. https://patents.google.com/patent/US3842414A. (14 pages) [5][6] (NB. This expired patent is about the Chen–Ho algorithm.)
- ↑ 15.00 15.01 15.02 15.03 15.04 15.05 15.06 15.07 15.08 15.09 15.10 15.11 "Storage-Efficient Representation of Decimal Data". Communications of the ACM (IBM San Jose Research Laboratory, San Jose, California, USA & IBM Systems Products Division, Poughkeepsie/East Fishkill, New York, USA: Association for Computing Machinery) 18 (1): 49–52. January 1975. doi:10.1145/360569.360660. ISSN 0001-0782. (4 pages)
- ↑ "Storage-Efficient Representation of Decimal Data". Research Report RJ 1420 (IBM San Jose Research Laboratory, San Jose, California, USA: IBM). 1974-06-25.
- ↑ 17.0 17.1 17.2 17.3 "A Summary of Chen-Ho Decimal Data encoding". IBM. 2014. http://speleotrove.com/decimal/chen-ho.html.
- ↑ "Comments on a paper by T. C. Chen and I. T. Ho". Communications of the ACM (University of California, Berkeley, California, USA) 18 (8): 463. August 1975. doi:10.1145/360933.360986. CODEN CACMA2. ISSN 0001-0782. https://dl.acm.org/doi/pdf/10.1145/360933.360986. Retrieved 2020-06-03. (1 page) (NB. A publication also discussing Chen–Ho alternatives and variations.)
- ↑ "Applications of Redundant Number Representations to Decimal Arithmetic". The Computer Journal (Department of Computer Science, Monash University, Clayton, Victoria, Australia: Wiley Heyden Ltd) 25 (4): 471–477. 1982-11-01. doi:10.1093/comjnl/25.4.471. (7 pages)
- ↑ "Decimal to binary coder/decoder". Coventry, UK: International Business Machines Corporation (IBM). 2003-02-25. https://patents.google.com/patent/US6525679B1none (6 pages) [7] and "Decimal to binary coder/decoder". Winchester, Hampshire, UK: International Business Machines Corporation (IBM). 2007-11-07. https://patents.google.com/patent/EP1231716A2/en. (9 pages) [8][9][10] (NB. This patent about DPD also discusses the Chen–Ho algorithm.)
- ↑ "Densely Packed Decimal Encoding". IEE Proceedings - Computers and Digital Techniques (London, UK: Institution of Electrical Engineers (IEE)) 149 (3): 102–104. 2002-08-07. doi:10.1049/ip-cdt:20020407. ISSN 1350-2387. https://ieeexplore.ieee.org/document/1008829. Retrieved 2016-02-07. (3 pages)
- ↑ "A Summary of Densely Packed Decimal encoding". IBM. 2007-02-13. http://speleotrove.com/decimal/DPDecimal.html.
- ↑ "Chen-Ho Encoding and Densely Packed Decimal". quadibloc. 2018. http://www.quadibloc.com/comp/cp020301.htm.
- ↑ 7070/7074 Compatibility Feature for IBM System/370 Models 165, 165 II, and 168 (2 ed.). IBM. June 1973. GA22-6958-1 (File No. 5/370-13). http://www.bitsavers.org/pdf/ibm/370/compatibility_feature/GA22-6958-1_707x_Compatibility_Feature_for_IBM-370_165_168.pdf. Retrieved 2018-07-21. (31+5 pages)
Further reading
- "Packed Decimal Encoding IEEE-754-2008". Geldrop, Netherlands. 2009-10-06. http://home.kpn.nl/jhm.bonten/computers/bitsandbytes/wordsizes/ibmpde.htm#dense4.
- "Base-26 Armor". quadibloc. 2018. http://www.quadibloc.com/crypto/mi060301.htm.
- "Data compression/expansion and compressed data processing". Poughkeepsie & New Paltz, New York, USA: International Business Machines Corporation (IBM). 1967-03-21. https://patents.google.com/patent/US3310786Anone (60 pages) [11], "Serial digital adder employing a compressed data format". Poughkeepsie & New Paltz, New York, USA: International Business Machines Corporation (IBM). 1969-05-20. https://patents.google.com/patent/US3445641Anone (40 pages) [12] and "Data compression/expansion and compressed data processing". Poughkeepsie & New Paltz, New York, USA: International Business Machines Corporation (IBM). 1969-03-11. https://patents.google.com/patent/US3432811A. (11 pages) [13] (NB. Three expired patents cited in both, the Hertz and Chen–Ho patents.)
- "Packing Mode Control". IBM Technical Disclosure Bulletin 4 (3): 61–63. August 1961.
- "Data Packing and Unpacking Means". IBM Technical Disclosure Bulletin 5 (7): 48–49. December 1962.
- "Direct Decimal to Binary Address Generator For Small Memories". IBM Technical Disclosure Bulletin 9 (10): 1347. March 1967. https://priorart.ip.com/IPCOM/000092875#text. Retrieved 2020-06-03.
Original source: https://en.wikipedia.org/wiki/Chen–Ho encoding.
Read more |