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
Decimal floating point are encoded in a 5-bit field, along with special forms for infinity and NaN. If the most significant 4 bits of the significand are between 0 and 7, the encoded value begins as follows: If the leading 4 bits of the significand are binary 1000 or 1001 (decimal 8 or 9), the number begins as follows: The leading bit (s in the above) is a sign bit, and the following bits (xxx in the above) encode the additional exponent bits and the remainder of the most significant digit, but the details vary depending on the encoding alternative used. The final