Content deleted Content added
→Quadruple precision examples: fix monospace formatting without using the space trick |
Formatting best practices |
||
Line 51:
These examples are given in bit ''representation'', in [[hexadecimal]], of the floating-point value. This includes the sign, (biased) exponent, and significand.
{| style="font-family: monospace, monospace;"
|-
|
0000 0000 0000 0000 0000 0000 0000 0001<sub>16</sub> = 2<sup>−16382</sup> × 2<sup>−112</sup> = 2<sup>−16494</sup><br />
{{spaces|42}}≈ 6.4751751194380251109244389582276465525 × 10<sup>−4966</sup><br />
{{spaces|42}}(smallest positive subnormal number)
0000 ffff ffff ffff ffff ffff ffff ffff<sub>16</sub> = 2<sup>−16382</sup> × (1 − 2<sup>−112</sup>)<br />
{{spaces|42}}≈ 3.3621031431120935062626778173217519551 × 10<sup>−4932</sup><br />
{{spaces|42}}(largest subnormal number)
0001 0000 0000 0000 0000 0000 0000 0000<sub>16</sub> = 2<sup>−16382</sup><br />
{{spaces|42}}≈ 3.3621031431120935062626778173217526026 × 10<sup>−4932</sup><br />
{{spaces|42}}(smallest positive normal number)
7ffe ffff ffff ffff ffff ffff ffff ffff<sub>16</sub> = 2<sup>16383</sup> × (2 − 2<sup>−112</sup>)<br />
{{spaces|42}}≈ 1.1897314953572317650857593266280070162 × 10<sup>4932</sup><br />
{{spaces|42}}(largest normal number)
3ffe ffff ffff ffff ffff ffff ffff ffff<sub>16</sub> = 1 − 2<sup>−113</sup><br />
{{spaces|42}}≈ 0.9999999999999999999999999999999999037<br />
{{spaces|42}}(largest number less than one)
3fff 0000 0000 0000 0000 0000 0000 0000<sub>16</sub> = 1 (one)
3fff 0000 0000 0000 0000 0000 0000 0001<sub>16</sub> = 1 + 2<sup>−112</sup><br />
{{spaces|42}}≈ 1.0000000000000000000000000000000001926<br />
{{spaces|42}}(smallest number larger than one)
4000 0000 0000 0000 0000 0000 0000 0000<sub>16</sub> = 2<br />
c000 0000 0000 0000 0000 0000 0000 0000<sub>16</sub> = −2
0000 0000 0000 0000 0000 0000 0000 0000<sub>16</sub> = 0<br />
8000 0000 0000 0000 0000 0000 0000 0000<sub>16</sub> = −0
7fff 0000 0000 0000 0000 0000 0000 0000<sub>16</sub> = infinity<br />
ffff 0000 0000 0000 0000 0000 0000 0000<sub>16</sub> = −infinity
4000 921f b544 42d1 8469 898c c517 01b8<sub>16</sub> ≈ 3.1415926535897932384626433832795027975<br />
{{spaces|42}}(closest approximation to π)
3ffd 5555 5555 5555 5555 5555 5555 5555<sub>16</sub> ≈ 0.3333333333333333333333333333333333173<br />
{{spaces|42}}(closest approximation to 1/3)
|}
|