regression/power of two/2^-882 to 2^-819

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.5 KiB
Archive
000226_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 08d0000000000000 3.10130032290503e-266
2 08e0000000000000 6.20260064581006e-266
3 08f0000000000000 1.240520129162012e-265
4 0900000000000000 2.481040258324024e-265
5 0910000000000000 4.962080516648048e-265
6 0920000000000000 9.924161033296096e-265
7 0930000000000000 1.9848322066592191e-264
8 0940000000000000 3.9696644133184383e-264
9 0950000000000000 7.939328826636877e-264
10 0960000000000000 1.5878657653273753e-263
11 0970000000000000 3.1757315306547506e-263
12 0980000000000000 6.351463061309501e-263
13 0990000000000000 1.2702926122619002e-262
14 09a0000000000000 2.5405852245238005e-262
15 09b0000000000000 5.081170449047601e-262
16 09c0000000000000 1.0162340898095202e-261
17 09d0000000000000 2.0324681796190404e-261
18 09e0000000000000 4.064936359238081e-261
19 09f0000000000000 8.129872718476162e-261
20 0a00000000000000 1.6259745436952323e-260
21 0a10000000000000 3.2519490873904646e-260
22 0a20000000000000 6.503898174780929e-260
23 0a30000000000000 1.3007796349561859e-259
24 0a40000000000000 2.6015592699123717e-259
25 0a50000000000000 5.2031185398247434e-259
26 0a60000000000000 1.0406237079649487e-258
27 0a70000000000000 2.0812474159298974e-258
28 0a80000000000000 4.162494831859795e-258
29 0a90000000000000 8.32498966371959e-258
30 0aa0000000000000 1.664997932743918e-257
31 0ab0000000000000 3.329995865487836e-257
32 0ac0000000000000 6.659991730975672e-257
33 0ad0000000000000 1.3319983461951343e-256
34 0ae0000000000000 2.6639966923902686e-256
35 0af0000000000000 5.327993384780537e-256
36 0b00000000000000 1.0655986769561075e-255
37 0b10000000000000 2.131197353912215e-255
38 0b20000000000000 4.26239470782443e-255
39 0b30000000000000 8.52478941564886e-255
40 0b40000000000000 1.704957883129772e-254
41 0b50000000000000 3.409915766259544e-254
42 0b60000000000000 6.819831532519088e-254
43 0b70000000000000 1.3639663065038175e-253
44 0b80000000000000 2.727932613007635e-253
45 0b90000000000000 5.45586522601527e-253
46 0ba0000000000000 1.091173045203054e-252
47 0bb0000000000000 2.182346090406108e-252
48 0bc0000000000000 4.364692180812216e-252
49 0bd0000000000000 8.729384361624432e-252
50 0be0000000000000 1.7458768723248864e-251
51 0bf0000000000000 3.491753744649773e-251
52 0c00000000000000 6.983507489299546e-251
53 0c10000000000000 1.3967014978599092e-250
54 0c20000000000000 2.7934029957198183e-250
55 0c30000000000000 5.586805991439637e-250
56 0c40000000000000 1.1173611982879273e-249
57 0c50000000000000 2.2347223965758547e-249
58 0c60000000000000 4.4694447931517093e-249
59 0c70000000000000 8.938889586303419e-249
60 0c80000000000000 1.7877779172606837e-248
61 0c90000000000000 3.5755558345213674e-248
62 0ca0000000000000 7.151111669042735e-248
63 0cb0000000000000 1.430222333808547e-247
64 0cc0000000000000 2.860444667617094e-247

Expected output

The output must match these bytes exactly.

3.10130032290503e-266
6.20260064581006e-266
1.240520129162012e-265
2.481040258324024e-265
4.962080516648048e-265
9.924161033296096e-265
1.9848322066592191e-264
3.9696644133184383e-264
7.939328826636877e-264
1.5878657653273753e-263
3.1757315306547506e-263
6.351463061309501e-263
1.2702926122619002e-262
2.5405852245238005e-262
5.081170449047601e-262
1.0162340898095202e-261
2.0324681796190404e-261
4.064936359238081e-261
8.129872718476162e-261
1.6259745436952323e-260
3.2519490873904646e-260
6.503898174780929e-260
1.3007796349561859e-259
2.6015592699123717e-259
5.2031185398247434e-259
1.0406237079649487e-258
2.0812474159298974e-258
4.162494831859795e-258
8.32498966371959e-258
1.664997932743918e-257
3.329995865487836e-257
6.659991730975672e-257
1.3319983461951343e-256
2.6639966923902686e-256
5.327993384780537e-256
1.0655986769561075e-255
2.131197353912215e-255
4.26239470782443e-255
8.52478941564886e-255
1.704957883129772e-254
3.409915766259544e-254
6.819831532519088e-254
1.3639663065038175e-253
2.727932613007635e-253
5.45586522601527e-253
1.091173045203054e-252
2.182346090406108e-252
4.364692180812216e-252
8.729384361624432e-252
1.7458768723248864e-251
3.491753744649773e-251
6.983507489299546e-251
1.3967014978599092e-250
2.7934029957198183e-250
5.586805991439637e-250
1.1173611982879273e-249
2.2347223965758547e-249
4.4694447931517093e-249
8.938889586303419e-249
1.7877779172606837e-248
3.5755558345213674e-248
7.151111669042735e-248
1.430222333808547e-247
2.860444667617094e-247