regression/boundary/sweep 4

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.0 KiB
Archive
000317_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 44d52d02c7e14af6 4e+23
2 44d52d02c7e14af7 4.0000000000000003e+23
3 44d37b547a731c01 3.6799999999999997e+23
4 44d37b547a731c02 3.68e+23
5 44de52e336cde221 5.7279999999999997e+23
6 44de52e336cde222 5.728e+23
7 44d017f7df96be17 3.0399999999999997e+23
8 44d017f7df96be18 3.04e+23
9 44e8905f62bda8e0 9.28e+23
10 44e8905f62bda8e1 9.280000000000001e+23
11 44e52d02c7e14af6 8e+23
12 44e52d02c7e14af7 8.000000000000001e+23
13 44e1c9a62d04ed0c 6.72e+23
14 44e1c9a62d04ed0d 6.720000000000001e+23
15 44eda56a4b0835bf 1.1199999999999999e+24
16 44eda56a4b0835c0 1.12e+24
17 44f52d02c7e14af6 1.6e+24
18 44f52d02c7e14af7 1.6000000000000001e+24
19 44f017f7df96be17 1.2159999999999999e+24
20 44f017f7df96be18 1.216e+24
21 44fda56a4b0835bf 2.2399999999999999e+24
22 44fda56a4b0835c0 2.24e+24
23 44f687f49f6ca3ba 1.7024e+24
24 44f687f49f6ca3bb 1.7024000000000001e+24
25 45052d02c7e14af6 3.2e+24
26 45052d02c7e14af7 3.2000000000000003e+24
27 4506deb1154f79eb 3.4559999999999997e+24
28 4506deb1154f79ec 3.456e+24
29 4508905f62bda8e0 3.712e+24
30 4508905f62bda8e1 3.7120000000000003e+24
31 45093dd84e835542 3.8144e+24
32 45093dd84e835543 3.8144000000000003e+24
33 4516deb1154f79eb 6.911999999999999e+24
34 4516deb1154f79ec 6.912e+24
35 4518e71bd8a07f11 7.526399999999999e+24
36 4518e71bd8a07f12 7.5264e+24
37 45132498049045d0 5.7856e+24
38 45132498049045d1 5.785600000000001e+24
39 451da56a4b0835bf 8.959999999999999e+24
40 451da56a4b0835c0 8.96e+24
41 4526deb1154f79eb 1.3823999999999999e+25
42 4526deb1154f79ec 1.3824e+25
43 452da56a4b0835bf 1.7919999999999999e+25
44 452da56a4b0835c0 1.792e+25
45 452c4a78737cdcfb 1.7100799999999999e+25
46 452c4a78737cdcfc 1.71008e+25
47 45252d02c7e14af6 1.28e+25
48 45252d02c7e14af7 1.2800000000000001e+25
49 4537356d8b32501c 2.80576e+25
50 4537356d8b32501d 2.8057600000000002e+25
51 45352d02c7e14af6 2.56e+25
52 45352d02c7e14af7 2.5600000000000002e+25
53 4536deb1154f79eb 2.7647999999999998e+25
54 4536deb1154f79ec 2.7648e+25
55 453017f7df96be17 1.9455999999999998e+25
56 453017f7df96be18 1.9456e+25
57 4541c9a62d04ed0c 4.3008e+25
58 4541c9a62d04ed0d 4.3008000000000004e+25
59 454a420db02bd7d5 6.3487999999999996e+25
60 454a420db02bd7d6 6.3488e+25
61 4548905f62bda8e0 5.9392e+25
62 4548905f62bda8e1 5.9392000000000004e+25
63 454f5718987664b4 7.5776e+25
64 454f5718987664b5 7.5776000000000004e+25

Expected output

The output must match these bytes exactly.

4e+23
4.0000000000000003e+23
3.6799999999999997e+23
3.68e+23
5.7279999999999997e+23
5.728e+23
3.0399999999999997e+23
3.04e+23
9.28e+23
9.280000000000001e+23
8e+23
8.000000000000001e+23
6.72e+23
6.720000000000001e+23
1.1199999999999999e+24
1.12e+24
1.6e+24
1.6000000000000001e+24
1.2159999999999999e+24
1.216e+24
2.2399999999999999e+24
2.24e+24
1.7024e+24
1.7024000000000001e+24
3.2e+24
3.2000000000000003e+24
3.4559999999999997e+24
3.456e+24
3.712e+24
3.7120000000000003e+24
3.8144e+24
3.8144000000000003e+24
6.911999999999999e+24
6.912e+24
7.526399999999999e+24
7.5264e+24
5.7856e+24
5.785600000000001e+24
8.959999999999999e+24
8.96e+24
1.3823999999999999e+25
1.3824e+25
1.7919999999999999e+25
1.792e+25
1.7100799999999999e+25
1.71008e+25
1.28e+25
1.2800000000000001e+25
2.80576e+25
2.8057600000000002e+25
2.56e+25
2.5600000000000002e+25
2.7647999999999998e+25
2.7648e+25
1.9455999999999998e+25
1.9456e+25
4.3008e+25
4.3008000000000004e+25
6.3487999999999996e+25
6.3488e+25
5.9392e+25
5.9392000000000004e+25
7.5776e+25
7.5776000000000004e+25