regression/boundary/sweep 5

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.1 KiB
Archive
000318_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 4551c9a62d04ed0c 8.6016e+25
2 4551c9a62d04ed0d 8.601600000000001e+25
3 45552d02c7e14af6 1.024e+26
4 45552d02c7e14af7 1.0240000000000001e+26
5 4555da7bb3a6f758 1.056768e+26
6 4555da7bb3a6f759 1.0567680000000001e+26
7 4552771f18ca996e 8.92928e+25
8 4552771f18ca996f 8.929280000000001e+25
9 45652d02c7e14af6 2.048e+26
10 45652d02c7e14af7 2.0480000000000002e+26
11 4565da7bb3a6f758 2.113536e+26
12 4565da7bb3a6f759 2.1135360000000002e+26
13 4562771f18ca996e 1.785856e+26
14 4562771f18ca996f 1.7858560000000002e+26
15 456da56a4b0835bf 2.8671999999999998e+26
16 456da56a4b0835c0 2.8672e+26
17 457da56a4b0835bf 5.7343999999999997e+26
18 457da56a4b0835c0 5.7344e+26
19 45752d02c7e14af6 4.096e+26
20 45752d02c7e14af7 4.0960000000000003e+26
21 457cf7f15f42895d 5.6033279999999997e+26
22 457cf7f15f42895e 5.603328e+26
23 457017f7df96be17 3.1129599999999997e+26
24 457017f7df96be18 3.11296e+26
25 458017f7df96be17 6.225919999999999e+26
26 458017f7df96be18 6.22592e+26
27 45852d02c7e14af6 8.192e+26
28 45852d02c7e14af7 8.192000000000001e+26
29 4581c9a62d04ed0c 6.88128e+26
30 4581c9a62d04ed0d 6.881280000000001e+26
31 458a420db02bd7d5 1.0158079999999999e+27
32 458a420db02bd7d6 1.015808e+27
33 45952d02c7e14af6 1.6384e+27
34 45952d02c7e14af7 1.6384000000000001e+27
35 459da56a4b0835bf 2.2937599999999999e+27
36 459da56a4b0835c0 2.29376e+27
37 459f5718987664b4 2.424832e+27
38 459f5718987664b5 2.4248320000000001e+27
39 4596deb1154f79eb 1.7694719999999999e+27
40 4596deb1154f79ec 1.769472e+27
41 45a172e9b72216db 2.7000831999999997e+27
42 45a172e9b72216dc 2.7000832e+27
43 45a52d02c7e14af6 3.2768e+27
44 45a52d02c7e14af7 3.2768000000000003e+27
45 45a6deb1154f79eb 3.5389439999999997e+27
46 45a6deb1154f79ec 3.538944e+27
47 45ada56a4b0835bf 4.5875199999999997e+27
48 45ada56a4b0835c0 4.58752e+27
49 45b52d02c7e14af6 6.5536e+27
50 45b52d02c7e14af7 6.553600000000001e+27
51 45bf005c22938e83 9.594470399999999e+27
52 45bf005c22938e84 9.5944704e+27
53 45b1c9a62d04ed0c 5.505024e+27
54 45b1c9a62d04ed0d 5.505024000000001e+27
55 45bf5718987664b4 9.699328e+27
56 45bf5718987664b5 9.699328000000001e+27
57 45c428cd6638c863 1.2478054399999999e+28
58 45c428cd6638c864 1.24780544e+28
59 45c1c9a62d04ed0c 1.1010048e+28
60 45c1c9a62d04ed0d 1.1010048000000001e+28
61 45c52d02c7e14af6 1.31072e+28
62 45c52d02c7e14af7 1.3107200000000001e+28
63 45cbf3bbfd9a06ca 1.7301504e+28
64 45cbf3bbfd9a06cb 1.7301504000000001e+28

Expected output

The output must match these bytes exactly.

8.6016e+25
8.601600000000001e+25
1.024e+26
1.0240000000000001e+26
1.056768e+26
1.0567680000000001e+26
8.92928e+25
8.929280000000001e+25
2.048e+26
2.0480000000000002e+26
2.113536e+26
2.1135360000000002e+26
1.785856e+26
1.7858560000000002e+26
2.8671999999999998e+26
2.8672e+26
5.7343999999999997e+26
5.7344e+26
4.096e+26
4.0960000000000003e+26
5.6033279999999997e+26
5.603328e+26
3.1129599999999997e+26
3.11296e+26
6.225919999999999e+26
6.22592e+26
8.192e+26
8.192000000000001e+26
6.88128e+26
6.881280000000001e+26
1.0158079999999999e+27
1.015808e+27
1.6384e+27
1.6384000000000001e+27
2.2937599999999999e+27
2.29376e+27
2.424832e+27
2.4248320000000001e+27
1.7694719999999999e+27
1.769472e+27
2.7000831999999997e+27
2.7000832e+27
3.2768e+27
3.2768000000000003e+27
3.5389439999999997e+27
3.538944e+27
4.5875199999999997e+27
4.58752e+27
6.5536e+27
6.553600000000001e+27
9.594470399999999e+27
9.5944704e+27
5.505024e+27
5.505024000000001e+27
9.699328e+27
9.699328000000001e+27
1.2478054399999999e+28
1.24780544e+28
1.1010048e+28
1.1010048000000001e+28
1.31072e+28
1.3107200000000001e+28
1.7301504e+28
1.7301504000000001e+28