regression/boundary/sweep 7

About this case

Pairs of doubles either side of a decimal exactly halfway between them, from 2^54 up: the even one's shortest digits are that decimal, and the odd one's are not.

Source
Focused regression
Input
64 values · 512 B · raw bytes
Output
1.2 KiB
Archive
000320_must_render_exactly/input

Input

Each value is 8 bytes, little-endian. Its bits are shown most significant first, as RFC 8785 Appendix B writes them, so 3ff0000000000000 is 1.

# Bits (hex) Expected
1 4659eb513a4901a4 8.2141249536e+30
2 4659eb513a4901a5 8.214124953600001e+30
3 465da56a4b0835bf 9.395240959999999e+30
4 465da56a4b0835c0 9.39524096e+30
5 465a420db02bd7d5 8.321499135999999e+30
6 465a420db02bd7d6 8.321499136e+30
7 46552d02c7e14af6 6.7108864e+30
8 46552d02c7e14af7 6.710886400000001e+30
9 46652d02c7e14af6 1.34217728e+31
10 46652d02c7e14af7 1.3421772800000001e+31
11 466da56a4b0835bf 1.8790481919999999e+31
12 466da56a4b0835c0 1.879048192e+31
13 466e52e336cde221 1.9219978649599999e+31
14 466e52e336cde222 1.92199786496e+31
15 466b9cff87b73099 1.7501991731199999e+31
16 466b9cff87b7309a 1.75019917312e+31
17 46752d02c7e14af6 2.68435456e+31
18 46752d02c7e14af7 2.6843545600000002e+31
19 467da56a4b0835bf 3.7580963839999998e+31
20 467da56a4b0835c0 3.758096384e+31
21 4676deb1154f79eb 2.8991029247999998e+31
22 4676deb1154f79ec 2.8991029248e+31
23 467428cd6638c863 2.5555055411199998e+31
24 467428cd6638c864 2.55550554112e+31
25 46852d02c7e14af6 5.36870912e+31
26 46852d02c7e14af7 5.3687091200000005e+31
27 468dfc26c0eb0bf0 7.60209211392e+31
28 468dfc26c0eb0bf1 7.6020921139200005e+31
29 468da56a4b0835bf 7.5161927679999995e+31
30 468da56a4b0835c0 7.516192768e+31
31 468017f7df96be17 4.0802189311999995e+31
32 468017f7df96be18 4.0802189312e+31
33 469ca134e95fb32c 1.451698946048e+32
34 469ca134e95fb32d 1.4516989460480001e+32
35 46937b547a731c01 9.878424780799999e+31
36 46937b547a731c02 9.8784247808e+31
37 4698905f62bda8e0 1.24554051584e+32
38 4698905f62bda8e1 1.2455405158400001e+32
39 46952d02c7e14af6 1.073741824e+32
40 46952d02c7e14af7 1.0737418240000001e+32
41 46a52d02c7e14af6 2.147483648e+32
42 46a52d02c7e14af7 2.1474836480000002e+32
43 46a017f7df96be17 1.6320875724799998e+32
44 46a017f7df96be18 1.63208757248e+32
45 46ada56a4b0835bf 3.0064771071999998e+32
46 46ada56a4b0835c0 3.0064771072e+32
47 46a3d210f055f232 2.010044694528e+32
48 46a3d210f055f233 2.0100446945280002e+32
49 46bb464311d45a68 5.531917877248e+32
50 46bb464311d45a69 5.5319178772480004e+32
51 46bda56a4b0835bf 6.0129542143999996e+32
52 46bda56a4b0835c0 6.0129542144e+32
53 46b52d02c7e14af6 4.294967296e+32
54 46b52d02c7e14af7 4.2949672960000004e+32
55 46b99494c4662b73 5.1883204935679996e+32
56 46b99494c4662b74 5.188320493568e+32
57 46c52d02c7e14af6 8.589934592e+32
58 46c52d02c7e14af7 8.589934592000001e+32
59 46cf5718987664b4 1.271310319616e+33
60 46cf5718987664b5 1.2713103196160001e+33
61 46cda56a4b0835bf 1.2025908428799999e+33
62 46cda56a4b0835c0 1.20259084288e+33
63 46c37b547a731c01 7.902739824639999e+32
64 46c37b547a731c02 7.90273982464e+32

Expected output

The output must match these bytes exactly.

8.2141249536e+30
8.214124953600001e+30
9.395240959999999e+30
9.39524096e+30
8.321499135999999e+30
8.321499136e+30
6.7108864e+30
6.710886400000001e+30
1.34217728e+31
1.3421772800000001e+31
1.8790481919999999e+31
1.879048192e+31
1.9219978649599999e+31
1.92199786496e+31
1.7501991731199999e+31
1.75019917312e+31
2.68435456e+31
2.6843545600000002e+31
3.7580963839999998e+31
3.758096384e+31
2.8991029247999998e+31
2.8991029248e+31
2.5555055411199998e+31
2.55550554112e+31
5.36870912e+31
5.3687091200000005e+31
7.60209211392e+31
7.6020921139200005e+31
7.5161927679999995e+31
7.516192768e+31
4.0802189311999995e+31
4.0802189312e+31
1.451698946048e+32
1.4516989460480001e+32
9.878424780799999e+31
9.8784247808e+31
1.24554051584e+32
1.2455405158400001e+32
1.073741824e+32
1.0737418240000001e+32
2.147483648e+32
2.1474836480000002e+32
1.6320875724799998e+32
1.63208757248e+32
3.0064771071999998e+32
3.0064771072e+32
2.010044694528e+32
2.0100446945280002e+32
5.531917877248e+32
5.5319178772480004e+32
6.0129542143999996e+32
6.0129542144e+32
4.294967296e+32
4.2949672960000004e+32
5.1883204935679996e+32
5.188320493568e+32
8.589934592e+32
8.589934592000001e+32
1.271310319616e+33
1.2713103196160001e+33
1.2025908428799999e+33
1.20259084288e+33
7.902739824639999e+32
7.90273982464e+32