regression/power of two/2^-370 to 2^-307

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
000234_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 28d0000000000000 4.15816390625796e-112
2 28e0000000000000 8.31632781251592e-112
3 28f0000000000000 1.663265562503184e-111
4 2900000000000000 3.326531125006368e-111
5 2910000000000000 6.653062250012736e-111
6 2920000000000000 1.3306124500025471e-110
7 2930000000000000 2.6612249000050942e-110
8 2940000000000000 5.3224498000101884e-110
9 2950000000000000 1.0644899600020377e-109
10 2960000000000000 2.1289799200040754e-109
11 2970000000000000 4.257959840008151e-109
12 2980000000000000 8.515919680016301e-109
13 2990000000000000 1.7031839360032603e-108
14 29a0000000000000 3.4063678720065206e-108
15 29b0000000000000 6.812735744013041e-108
16 29c0000000000000 1.3625471488026082e-107
17 29d0000000000000 2.7250942976052165e-107
18 29e0000000000000 5.450188595210433e-107
19 29f0000000000000 1.0900377190420866e-106
20 2a00000000000000 2.1800754380841732e-106
21 2a10000000000000 4.3601508761683463e-106
22 2a20000000000000 8.720301752336693e-106
23 2a30000000000000 1.7440603504673385e-105
24 2a40000000000000 3.488120700934677e-105
25 2a50000000000000 6.976241401869354e-105
26 2a60000000000000 1.3952482803738708e-104
27 2a70000000000000 2.7904965607477417e-104
28 2a80000000000000 5.5809931214954833e-104
29 2a90000000000000 1.1161986242990967e-103
30 2aa0000000000000 2.2323972485981933e-103
31 2ab0000000000000 4.464794497196387e-103
32 2ac0000000000000 8.929588994392773e-103
33 2ad0000000000000 1.7859177988785547e-102
34 2ae0000000000000 3.5718355977571093e-102
35 2af0000000000000 7.143671195514219e-102
36 2b00000000000000 1.4287342391028437e-101
37 2b10000000000000 2.8574684782056875e-101
38 2b20000000000000 5.714936956411375e-101
39 2b30000000000000 1.142987391282275e-100
40 2b40000000000000 2.28597478256455e-100
41 2b50000000000000 4.5719495651291e-100
42 2b60000000000000 9.1438991302582e-100
43 2b70000000000000 1.82877982605164e-99
44 2b80000000000000 3.65755965210328e-99
45 2b90000000000000 7.31511930420656e-99
46 2ba0000000000000 1.463023860841312e-98
47 2bb0000000000000 2.926047721682624e-98
48 2bc0000000000000 5.852095443365248e-98
49 2bd0000000000000 1.1704190886730496e-97
50 2be0000000000000 2.3408381773460992e-97
51 2bf0000000000000 4.6816763546921983e-97
52 2c00000000000000 9.363352709384397e-97
53 2c10000000000000 1.8726705418768793e-96
54 2c20000000000000 3.745341083753759e-96
55 2c30000000000000 7.490682167507517e-96
56 2c40000000000000 1.4981364335015035e-95
57 2c50000000000000 2.996272867003007e-95
58 2c60000000000000 5.992545734006014e-95
59 2c70000000000000 1.1985091468012028e-94
60 2c80000000000000 2.3970182936024055e-94
61 2c90000000000000 4.794036587204811e-94
62 2ca0000000000000 9.588073174409622e-94
63 2cb0000000000000 1.9176146348819244e-93
64 2cc0000000000000 3.835229269763849e-93

Expected output

The output must match these bytes exactly.

4.15816390625796e-112
8.31632781251592e-112
1.663265562503184e-111
3.326531125006368e-111
6.653062250012736e-111
1.3306124500025471e-110
2.6612249000050942e-110
5.3224498000101884e-110
1.0644899600020377e-109
2.1289799200040754e-109
4.257959840008151e-109
8.515919680016301e-109
1.7031839360032603e-108
3.4063678720065206e-108
6.812735744013041e-108
1.3625471488026082e-107
2.7250942976052165e-107
5.450188595210433e-107
1.0900377190420866e-106
2.1800754380841732e-106
4.3601508761683463e-106
8.720301752336693e-106
1.7440603504673385e-105
3.488120700934677e-105
6.976241401869354e-105
1.3952482803738708e-104
2.7904965607477417e-104
5.5809931214954833e-104
1.1161986242990967e-103
2.2323972485981933e-103
4.464794497196387e-103
8.929588994392773e-103
1.7859177988785547e-102
3.5718355977571093e-102
7.143671195514219e-102
1.4287342391028437e-101
2.8574684782056875e-101
5.714936956411375e-101
1.142987391282275e-100
2.28597478256455e-100
4.5719495651291e-100
9.1438991302582e-100
1.82877982605164e-99
3.65755965210328e-99
7.31511930420656e-99
1.463023860841312e-98
2.926047721682624e-98
5.852095443365248e-98
1.1704190886730496e-97
2.3408381773460992e-97
4.6816763546921983e-97
9.363352709384397e-97
1.8726705418768793e-96
3.745341083753759e-96
7.490682167507517e-96
1.4981364335015035e-95
2.996272867003007e-95
5.992545734006014e-95
1.1985091468012028e-94
2.3970182936024055e-94
4.794036587204811e-94
9.588073174409622e-94
1.9176146348819244e-93
3.835229269763849e-93