I'm trying to implement this type but I cant seem to find any documentation on it.
The binary-256 format reserves 236 bits for the mantissa and the remaining 20 for the sign & exponent. IEEE-754 BCD formats, on the other hand, use the two bits after the sign as flags to interpret the high bits of the mantissa. If we use DPD packing, then the lower 230 bits contain 69 BCD digits and my guess is that the other 6 bits would have to contain two, but how?
A DPD decimal-256 is laid out as follows:
0..229 23 decets of 3 BCD digits each
230..252 "combination" field containing exponent and hi bits of the
mantissa
253..254 2 bits following sign that are used as flags to interpret
the following 23 bits and/or as part of the value thereof.
255 sign
My question is: how should I interpret the "combination" field mentioned above?