Content deleted Content added
Found (and fixed) one value that didn't get converted. |
Use template:gaps for large numbers. |
||
Line 3:
It is intended for applications where it is necessary to emulate decimal rounding exactly, such as financial and tax computations.
Decimal64 supports 16 [[decimal digit]]s of [[significand]] and an [[exponent]] range of −383 to +384, i.e. {{gaps|±0.
Decimal64 floating point is a relatively new decimal floating-point format, formally introduced in the 2008 version of [[IEEE 754]].
Line 47:
=== Binary integer significand field ===
This format uses a binary significand from 0 to 10<sup>16</sup>−1 = {{gaps|9
{{gaps|1000
The encoding can represent binary significands up to 10×2<sup>50</sup>−1 = {{gaps|11
As described above, the encoding varies depending on whether the most significant 4 bits of the significand are in the range 0 to 7 (0000<sub>2</sub> to 0111<sub>2</sub>), or higher (1000<sub>2</sub> or 1001<sub>2</sub>).
Line 73:
values for the binary formats. Note also that the "00", "01", or "10" bits are part of the exponent field.
Note that the leading bits of the significand field do ''not'' encode the most significant decimal digit; they are simply part of a larger pure-binary number. For example, a significand of {{gaps|8
In the above cases, the value represented is
|