regression/power of two/2^142 to 2^205

About this case

Powers of two, where the gap to the next double down is half the gap up.

Source
Focused regression
Input
64 values · 512 B · raw bytes
Output
1.4 KiB
Archive
000242_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 48d0000000000000 5.575186299632656e+42
2 48e0000000000000 1.1150372599265312e+43
3 48f0000000000000 2.2300745198530623e+43
4 4900000000000000 4.460149039706125e+43
5 4910000000000000 8.92029807941225e+43
6 4920000000000000 1.78405961588245e+44
7 4930000000000000 3.5681192317649e+44
8 4940000000000000 7.1362384635298e+44
9 4950000000000000 1.42724769270596e+45
10 4960000000000000 2.85449538541192e+45
11 4970000000000000 5.70899077082384e+45
12 4980000000000000 1.141798154164768e+46
13 4990000000000000 2.283596308329536e+46
14 49a0000000000000 4.567192616659072e+46
15 49b0000000000000 9.134385233318143e+46
16 49c0000000000000 1.8268770466636286e+47
17 49d0000000000000 3.6537540933272573e+47
18 49e0000000000000 7.307508186654515e+47
19 49f0000000000000 1.461501637330903e+48
20 4a00000000000000 2.923003274661806e+48
21 4a10000000000000 5.846006549323612e+48
22 4a20000000000000 1.1692013098647223e+49
23 4a30000000000000 2.3384026197294447e+49
24 4a40000000000000 4.6768052394588893e+49
25 4a50000000000000 9.353610478917779e+49
26 4a60000000000000 1.8707220957835557e+50
27 4a70000000000000 3.7414441915671115e+50
28 4a80000000000000 7.482888383134223e+50
29 4a90000000000000 1.4965776766268446e+51
30 4aa0000000000000 2.9931553532536892e+51
31 4ab0000000000000 5.986310706507379e+51
32 4ac0000000000000 1.1972621413014757e+52
33 4ad0000000000000 2.3945242826029513e+52
34 4ae0000000000000 4.789048565205903e+52
35 4af0000000000000 9.578097130411805e+52
36 4b00000000000000 1.915619426082361e+53
37 4b10000000000000 3.831238852164722e+53
38 4b20000000000000 7.662477704329444e+53
39 4b30000000000000 1.532495540865889e+54
40 4b40000000000000 3.064991081731778e+54
41 4b50000000000000 6.129982163463556e+54
42 4b60000000000000 1.2259964326927111e+55
43 4b70000000000000 2.4519928653854222e+55
44 4b80000000000000 4.9039857307708443e+55
45 4b90000000000000 9.807971461541689e+55
46 4ba0000000000000 1.9615942923083377e+56
47 4bb0000000000000 3.9231885846166755e+56
48 4bc0000000000000 7.846377169233351e+56
49 4bd0000000000000 1.5692754338466702e+57
50 4be0000000000000 3.1385508676933404e+57
51 4bf0000000000000 6.277101735386681e+57
52 4c00000000000000 1.2554203470773362e+58
53 4c10000000000000 2.5108406941546723e+58
54 4c20000000000000 5.021681388309345e+58
55 4c30000000000000 1.004336277661869e+59
56 4c40000000000000 2.008672555323738e+59
57 4c50000000000000 4.017345110647476e+59
58 4c60000000000000 8.034690221294951e+59
59 4c70000000000000 1.6069380442589903e+60
60 4c80000000000000 3.2138760885179806e+60
61 4c90000000000000 6.427752177035961e+60
62 4ca0000000000000 1.2855504354071922e+61
63 4cb0000000000000 2.5711008708143844e+61
64 4cc0000000000000 5.142201741628769e+61

Expected output

The output must match these bytes exactly.

5.575186299632656e+42
1.1150372599265312e+43
2.2300745198530623e+43
4.460149039706125e+43
8.92029807941225e+43
1.78405961588245e+44
3.5681192317649e+44
7.1362384635298e+44
1.42724769270596e+45
2.85449538541192e+45
5.70899077082384e+45
1.141798154164768e+46
2.283596308329536e+46
4.567192616659072e+46
9.134385233318143e+46
1.8268770466636286e+47
3.6537540933272573e+47
7.307508186654515e+47
1.461501637330903e+48
2.923003274661806e+48
5.846006549323612e+48
1.1692013098647223e+49
2.3384026197294447e+49
4.6768052394588893e+49
9.353610478917779e+49
1.8707220957835557e+50
3.7414441915671115e+50
7.482888383134223e+50
1.4965776766268446e+51
2.9931553532536892e+51
5.986310706507379e+51
1.1972621413014757e+52
2.3945242826029513e+52
4.789048565205903e+52
9.578097130411805e+52
1.915619426082361e+53
3.831238852164722e+53
7.662477704329444e+53
1.532495540865889e+54
3.064991081731778e+54
6.129982163463556e+54
1.2259964326927111e+55
2.4519928653854222e+55
4.9039857307708443e+55
9.807971461541689e+55
1.9615942923083377e+56
3.9231885846166755e+56
7.846377169233351e+56
1.5692754338466702e+57
3.1385508676933404e+57
6.277101735386681e+57
1.2554203470773362e+58
2.5108406941546723e+58
5.021681388309345e+58
1.004336277661869e+59
2.008672555323738e+59
4.017345110647476e+59
8.034690221294951e+59
1.6069380442589903e+60
3.2138760885179806e+60
6.427752177035961e+60
1.2855504354071922e+61
2.5711008708143844e+61
5.142201741628769e+61