Content deleted Content added
Salix alba (talk | contribs) m fix tags, replaced: <sup>sign</sub> → <sup>sign</sup> using AWB |
Better explanation of combination field Tag: nonsense characters |
||
Line 9:
== Representation of decimal64 values ==
{| class="wikitable"
|-
! Sign !! Combination !! Exponent continuation !! Coefficient continuation
|-
! 1 bit !! 5 bits !! 8 bits !! 50 bits
|-
| s || mmmmm || xxxxxxxx || cccccccccccccccccccccccccccccccccccccccccccccccccc
|}
IEEE 754 allows two alternative representation methods for decimal64 values. The standard does not specify how to signify which representation is used, for instance in a situation where decimal64 values are communicated between systems:
Line 19 ⟶ 28:
In both cases, the most significant 4 bits of the significand (which actually only have 10 possible values) are combined with the most significant 2 bits of the exponent (3 possible values) to use 30 of the 32 possible values of a 5-bit field. The remaining combinations encode [[infinity|infinities]] and [[NaN]]s.
{| class="wikitable"
|-
! Combination field !! Exponent Begins With !! Coefficient Digit !! Other
|-
| 00mmm || 00 || 0mmm || —
|-
| 01mmm || 01 || 0mmm || —
|-
| 10mmm || 10 || 0mmm || —
|-
| 1100m || 00 || 100m || —
|-
| 1101m || 11 || 100m || —
|-
| 1110m || 00 || 100m || —
|-
| 11110 || — || — || ±Infinity
|-
| 11111 || — || — || NaN. Sign bit ignored. First bit of exponent continuation field determines if NaN is signaling.
|}
In the
=== Binary integer significand field ===
|