|
Densely Packed Decimal (DPD) is a 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). Densely Packed Decimal is a lossless code which packs three digits into 10 bits using a scheme which allows compression from, or expansion to, BCD with only two or three gate delays in hardware. The Densely Packed Decimal encoding gives the same compression and speed advantages as the Huffman-coded Chen-Ho encoding, but it is not a prefix code; the particular arrangement of bits used confers additional advantages:
ExamplesThis table shows some representative decimal numbers and their encodings in BCD, Chen-Ho, and Densely Packed Decimal (DPD):
HistoryIn 1971, Tien Chi Chen and Dr. Irving T. Ho devised a lossless code (now known as Chen-Ho encoding) which used Huffman coding to pack three digits into 10 bits using a scheme which allowed compression from or expansion to BCD with only two or three gate delays in hardware. Densely Packed Decimal is a refinement on this, but is not a prefix code. References
|
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.
Mercedes Car
This site monitored by SitePinger.net