Template:Densely packed decimal

From blackwiki
Revision as of 20:42, 8 February 2016 by imported>Matthiaspaul (improved refs)
Jump to navigation Jump to search
Densely packed decimal encoding rules[1]
DPD encoded value Decimal digits
b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 d2 d1 d0 Values encoded Description
a b c d e f 0 g h i 0abc 0def 0ghi (0–7) (0–7) (0–7) Three small digits
a b c d e f 1 0 0 i 0abc 0def 100i (0–7) (0–7) Template:Uu Two small digits,
one large
a b c g h f 1 0 1 i 0abc 100f 0ghi (0–7) Template:Uu (0–7)
g h c d e f 1 1 0 i 100c 0def 0ghi Template:Uu (0–7) (0–7)
g h c 0 0 f 1 1 1 i 100c 100f 0ghi Template:Uu Template:Uu (0–7) One small digit,
two large
d e c 0 1 f 1 1 1 i 100c 0def 100i Template:Uu (0–7) Template:Uu
a b c 1 0 f 1 1 1 i 0abc 100f 100i (0–7) Template:Uu Template:Uu
x x c 1 1 f 1 1 1 i 100c 100f 100i Template:Uu Template:Uu Template:Uu Three large digits

Information

This is for transclusion in Densely packed decimal, Decimal32, Decimal64 and Decimal128. Only the table, above, will be included.

References

  1. Cowlishaw, Mike F. (2007-02-13) [2000]. "A Summary of Densely Packed Decimal encoding". IBM. Archived from the original on 2015-09-24. Retrieved 2016-02-07. Unknown parameter |dead-url= ignored (|url-status= suggested) (help)