- Chen-Ho encoding
Chen-Ho encoding is an 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).The concepts behind Chen-Ho encoding were first introduced in a memo from
Tien Chi Chen toDr. Irving T. Ho in 1971. Both men were working forIBM at the time, although in different locations. Tien Chi Chen also consulted withDr. Frank Tung to verify the results of his theories independently.Tien Chi Chen noted that the digits zero through seven were simply encoded using three binary digits. 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.Application
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 alook-up table .The final version of Chen-Ho encoding was published in 1975 in the journal "Communications of the Association for Computing Machinery (CACM)". This version included several refinements, primarily related to the application of the encoding system.
Chen-Ho encoding is limited to encoding of sets of three decimal digits. One prominent application uses a 128-bit register to store 33 decimal digits with a three digit exponent.
Related Systems of Encoding
In 2002,
Mike Cowlishaw published a further refinement of Chen-Ho encoding known as densely packed decimal encoding in "IEE Proceedings – Computers and Digital Techniques", which is summarized [http://www2.hursley.ibm.com/decimal/DPDecimal.html here] .References
* [http://www2.hursley.ibm.com/decimal/chen-ho.html IBM: Chen-Ho encoding]
* Tien Chi Chen (March 29, 1971). [http://www2.hursley.ibm.com/decimal/chen1971-memo-to-Ho.pdf Decimal Number Compression] . "Internal IBM memo to Dr. Irving T. Ho, 4pp, IBM".
*Tien Chi Chen & Irving T. Ho (January 1975). [http://portal.acm.org/citation.cfm?id=360660 Storage-Efficient Representation of Decimal Data] . "CACM (18)1, pp.49-52".
Wikimedia Foundation. 2010.