regression/boundary/sweep 9

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
54 values · 432 B · raw bytes
Output
1.2 KiB
Archive
000322_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 47552d02c7e14af6 4.398046511104e+35
2 47552d02c7e14af7 4.3980465111040004e+35
3 4757356d8b32501c 4.820258976169984e+35
4 4757356d8b32501d 4.8202589761699844e+35
5 475cf7f15f42895d 6.0165276271902716e+35
6 475cf7f15f42895e 6.016527627190272e+35
7 4750c570cb5c6a79 3.4832528367943676e+35
8 4750c570cb5c6a7a 3.483252836794368e+35
9 47652d02c7e14af6 8.796093022208e+35
10 47652d02c7e14af7 8.796093022208001e+35
11 476017f7df96be17 6.685030696878079e+35
12 476017f7df96be18 6.68503069687808e+35
13 476da56a4b0835bf 1.2314530231091199e+36
14 476da56a4b0835c0 1.23145302310912e+36
15 476f5718987664b4 1.301821767286784e+36
16 476f5718987664b5 1.3018217672867841e+36
17 47752d02c7e14af6 1.7592186044416e+36
18 47752d02c7e14af7 1.7592186044416001e+36
19 4778905f62bda8e0 2.040693581152256e+36
20 4778905f62bda8e1 2.0406935811522561e+36
21 4776deb1154f79eb 1.8999560927969279e+36
22 4776deb1154f79ec 1.899956092796928e+36
23 477da56a4b0835bf 2.4629060462182399e+36
24 477da56a4b0835c0 2.46290604621824e+36
25 47852d02c7e14af6 3.5184372088832e+36
26 47852d02c7e14af7 3.5184372088832003e+36
27 478da56a4b0835bf 4.9258120924364797e+36
28 478da56a4b0835c0 4.92581209243648e+36
29 4788905f62bda8e0 4.081387162304512e+36
30 4788905f62bda8e1 4.0813871623045123e+36
31 478bf3bbfd9a06ca 4.644337115725824e+36
32 478bf3bbfd9a06cb 4.6443371157258243e+36
33 47952d02c7e14af6 7.0368744177664e+36
34 47952d02c7e14af7 7.036874417766401e+36
35 479da56a4b0835bf 9.851624184872959e+36
36 479da56a4b0835c0 9.85162418487296e+36
37 47ada56a4b0835bf 1.9703248369745919e+37
38 47ada56a4b0835c0 1.970324836974592e+37
39 47a52d02c7e14af6 1.40737488355328e+37
40 47a52d02c7e14af7 1.4073748835532801e+37
41 47b52d02c7e14af6 2.81474976710656e+37
42 47b52d02c7e14af7 2.8147497671065602e+37
43 47bda56a4b0835bf 3.9406496739491838e+37
44 47bda56a4b0835c0 3.940649673949184e+37
45 47c52d02c7e14af6 5.62949953421312e+37
46 47c52d02c7e14af7 5.6294995342131205e+37
47 47cda56a4b0835bf 7.8812993478983675e+37
48 47cda56a4b0835c0 7.881299347898368e+37
49 47d52d02c7e14af6 1.125899906842624e+38
50 47d52d02c7e14af7 1.1258999068426241e+38
51 47e52d02c7e14af6 2.251799813685248e+38
52 47e52d02c7e14af7 2.2517998136852482e+38
53 47f52d02c7e14af6 4.503599627370496e+38
54 47f52d02c7e14af7 4.5035996273704964e+38

Expected output

The output must match these bytes exactly.

4.398046511104e+35
4.3980465111040004e+35
4.820258976169984e+35
4.8202589761699844e+35
6.0165276271902716e+35
6.016527627190272e+35
3.4832528367943676e+35
3.483252836794368e+35
8.796093022208e+35
8.796093022208001e+35
6.685030696878079e+35
6.68503069687808e+35
1.2314530231091199e+36
1.23145302310912e+36
1.301821767286784e+36
1.3018217672867841e+36
1.7592186044416e+36
1.7592186044416001e+36
2.040693581152256e+36
2.0406935811522561e+36
1.8999560927969279e+36
1.899956092796928e+36
2.4629060462182399e+36
2.46290604621824e+36
3.5184372088832e+36
3.5184372088832003e+36
4.9258120924364797e+36
4.92581209243648e+36
4.081387162304512e+36
4.0813871623045123e+36
4.644337115725824e+36
4.6443371157258243e+36
7.0368744177664e+36
7.036874417766401e+36
9.851624184872959e+36
9.85162418487296e+36
1.9703248369745919e+37
1.970324836974592e+37
1.40737488355328e+37
1.4073748835532801e+37
2.81474976710656e+37
2.8147497671065602e+37
3.9406496739491838e+37
3.940649673949184e+37
5.62949953421312e+37
5.6294995342131205e+37
7.8812993478983675e+37
7.881299347898368e+37
1.125899906842624e+38
1.1258999068426241e+38
2.251799813685248e+38
2.2517998136852482e+38
4.503599627370496e+38
4.5035996273704964e+38