Decimal floating point (3 or 4 binary bits), and the rest of the significand uses the densely packed decimal (DPD) encoding. Unlike the binary integer significand version, where the exponent changed position and came before the significand, this encoding combines the leading 2 bits of the exponent and the leading digit (3 or 4 bits) of the significand into the five bits that follow the sign bit. This is followed by a fixed-offset exponent continuation field. Finally, the significand continuation field made of 2, 5, or 11 10-bit "declets", each encoding 3 decimal digits. If the first two bits after the sign bit
Binary-coded decimal processors and databases, such as IBM DB2, mainframes, and Power6. In these products, the BCD is usually zoned BCD (as in EBCDIC or ASCII), Packed BCD (two decimal digits per byte), or "pure" BCD encoding (one decimal digit stored as BCD in the low four bits of each byte). All of these are used within hardware registers and processing units, and in software. To convert packed decimals in EBCDIC table unloads to readable numbers, you can use the OUTREC FIELDS mask of the JCL utility DFSORT. The Digital Equipment Corporation VAX-11 series includes instructions that can perform arithmetic directly on