regression/power of two/2^-114 to 2^-51

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
000238_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 38d0000000000000 4.81482486096809e-35
2 38e0000000000000 9.62964972193618e-35
3 38f0000000000000 1.925929944387236e-34
4 3900000000000000 3.851859888774472e-34
5 3910000000000000 7.703719777548943e-34
6 3920000000000000 1.5407439555097887e-33
7 3930000000000000 3.0814879110195774e-33
8 3940000000000000 6.162975822039155e-33
9 3950000000000000 1.232595164407831e-32
10 3960000000000000 2.465190328815662e-32
11 3970000000000000 4.930380657631324e-32
12 3980000000000000 9.860761315262648e-32
13 3990000000000000 1.9721522630525295e-31
14 39a0000000000000 3.944304526105059e-31
15 39b0000000000000 7.888609052210118e-31
16 39c0000000000000 1.5777218104420236e-30
17 39d0000000000000 3.1554436208840472e-30
18 39e0000000000000 6.310887241768095e-30
19 39f0000000000000 1.262177448353619e-29
20 3a00000000000000 2.524354896707238e-29
21 3a10000000000000 5.048709793414476e-29
22 3a20000000000000 1.0097419586828951e-28
23 3a30000000000000 2.0194839173657902e-28
24 3a40000000000000 4.0389678347315804e-28
25 3a50000000000000 8.077935669463161e-28
26 3a60000000000000 1.6155871338926322e-27
27 3a70000000000000 3.2311742677852644e-27
28 3a80000000000000 6.462348535570529e-27
29 3a90000000000000 1.2924697071141057e-26
30 3aa0000000000000 2.5849394142282115e-26
31 3ab0000000000000 5.169878828456423e-26
32 3ac0000000000000 1.0339757656912846e-25
33 3ad0000000000000 2.0679515313825692e-25
34 3ae0000000000000 4.1359030627651384e-25
35 3af0000000000000 8.271806125530277e-25
36 3b00000000000000 1.6543612251060553e-24
37 3b10000000000000 3.308722450212111e-24
38 3b20000000000000 6.617444900424222e-24
39 3b30000000000000 1.3234889800848443e-23
40 3b40000000000000 2.6469779601696886e-23
41 3b50000000000000 5.293955920339377e-23
42 3b60000000000000 1.0587911840678754e-22
43 3b70000000000000 2.117582368135751e-22
44 3b80000000000000 4.235164736271502e-22
45 3b90000000000000 8.470329472543003e-22
46 3ba0000000000000 1.6940658945086007e-21
47 3bb0000000000000 3.3881317890172014e-21
48 3bc0000000000000 6.776263578034403e-21
49 3bd0000000000000 1.3552527156068805e-20
50 3be0000000000000 2.710505431213761e-20
51 3bf0000000000000 5.421010862427522e-20
52 3c00000000000000 1.0842021724855044e-19
53 3c10000000000000 2.168404344971009e-19
54 3c20000000000000 4.336808689942018e-19
55 3c30000000000000 8.673617379884035e-19
56 3c40000000000000 1.734723475976807e-18
57 3c50000000000000 3.469446951953614e-18
58 3c60000000000000 6.938893903907228e-18
59 3c70000000000000 1.3877787807814457e-17
60 3c80000000000000 2.7755575615628914e-17
61 3c90000000000000 5.551115123125783e-17
62 3ca0000000000000 1.1102230246251565e-16
63 3cb0000000000000 2.220446049250313e-16
64 3cc0000000000000 4.440892098500626e-16

Expected output

The output must match these bytes exactly.

4.81482486096809e-35
9.62964972193618e-35
1.925929944387236e-34
3.851859888774472e-34
7.703719777548943e-34
1.5407439555097887e-33
3.0814879110195774e-33
6.162975822039155e-33
1.232595164407831e-32
2.465190328815662e-32
4.930380657631324e-32
9.860761315262648e-32
1.9721522630525295e-31
3.944304526105059e-31
7.888609052210118e-31
1.5777218104420236e-30
3.1554436208840472e-30
6.310887241768095e-30
1.262177448353619e-29
2.524354896707238e-29
5.048709793414476e-29
1.0097419586828951e-28
2.0194839173657902e-28
4.0389678347315804e-28
8.077935669463161e-28
1.6155871338926322e-27
3.2311742677852644e-27
6.462348535570529e-27
1.2924697071141057e-26
2.5849394142282115e-26
5.169878828456423e-26
1.0339757656912846e-25
2.0679515313825692e-25
4.1359030627651384e-25
8.271806125530277e-25
1.6543612251060553e-24
3.308722450212111e-24
6.617444900424222e-24
1.3234889800848443e-23
2.6469779601696886e-23
5.293955920339377e-23
1.0587911840678754e-22
2.117582368135751e-22
4.235164736271502e-22
8.470329472543003e-22
1.6940658945086007e-21
3.3881317890172014e-21
6.776263578034403e-21
1.3552527156068805e-20
2.710505431213761e-20
5.421010862427522e-20
1.0842021724855044e-19
2.168404344971009e-19
4.336808689942018e-19
8.673617379884035e-19
1.734723475976807e-18
3.469446951953614e-18
6.938893903907228e-18
1.3877787807814457e-17
2.7755575615628914e-17
5.551115123125783e-17
1.1102230246251565e-16
2.220446049250313e-16
4.440892098500626e-16