regression/power of two/2^974 to 2^1023

About this case

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

Source
Focused regression
Input
50 values · 400 B · raw bytes
Output
1.1 KiB
Archive
000255_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 7cd0000000000000 1.596672247627776e+293
2 7ce0000000000000 3.193344495255552e+293
3 7cf0000000000000 6.386688990511104e+293
4 7d00000000000000 1.2773377981022207e+294
5 7d10000000000000 2.5546755962044414e+294
6 7d20000000000000 5.109351192408883e+294
7 7d30000000000000 1.0218702384817765e+295
8 7d40000000000000 2.043740476963553e+295
9 7d50000000000000 4.087480953927106e+295
10 7d60000000000000 8.174961907854212e+295
11 7d70000000000000 1.6349923815708425e+296
12 7d80000000000000 3.269984763141685e+296
13 7d90000000000000 6.53996952628337e+296
14 7da0000000000000 1.307993905256674e+297
15 7db0000000000000 2.615987810513348e+297
16 7dc0000000000000 5.231975621026696e+297
17 7dd0000000000000 1.0463951242053392e+298
18 7de0000000000000 2.0927902484106784e+298
19 7df0000000000000 4.185580496821357e+298
20 7e00000000000000 8.371160993642713e+298
21 7e10000000000000 1.6742321987285427e+299
22 7e20000000000000 3.3484643974570854e+299
23 7e30000000000000 6.696928794914171e+299
24 7e40000000000000 1.3393857589828342e+300
25 7e50000000000000 2.6787715179656683e+300
26 7e60000000000000 5.357543035931337e+300
27 7e70000000000000 1.0715086071862673e+301
28 7e80000000000000 2.1430172143725346e+301
29 7e90000000000000 4.2860344287450693e+301
30 7ea0000000000000 8.572068857490139e+301
31 7eb0000000000000 1.7144137714980277e+302
32 7ec0000000000000 3.4288275429960554e+302
33 7ed0000000000000 6.857655085992111e+302
34 7ee0000000000000 1.3715310171984222e+303
35 7ef0000000000000 2.7430620343968443e+303
36 7f00000000000000 5.486124068793689e+303
37 7f10000000000000 1.0972248137587377e+304
38 7f20000000000000 2.1944496275174755e+304
39 7f30000000000000 4.388899255034951e+304
40 7f40000000000000 8.777798510069902e+304
41 7f50000000000000 1.7555597020139804e+305
42 7f60000000000000 3.511119404027961e+305
43 7f70000000000000 7.022238808055922e+305
44 7f80000000000000 1.4044477616111843e+306
45 7f90000000000000 2.8088955232223686e+306
46 7fa0000000000000 5.617791046444737e+306
47 7fb0000000000000 1.1235582092889474e+307
48 7fc0000000000000 2.247116418577895e+307
49 7fd0000000000000 4.49423283715579e+307
50 7fe0000000000000 8.98846567431158e+307

Expected output

The output must match these bytes exactly.

1.596672247627776e+293
3.193344495255552e+293
6.386688990511104e+293
1.2773377981022207e+294
2.5546755962044414e+294
5.109351192408883e+294
1.0218702384817765e+295
2.043740476963553e+295
4.087480953927106e+295
8.174961907854212e+295
1.6349923815708425e+296
3.269984763141685e+296
6.53996952628337e+296
1.307993905256674e+297
2.615987810513348e+297
5.231975621026696e+297
1.0463951242053392e+298
2.0927902484106784e+298
4.185580496821357e+298
8.371160993642713e+298
1.6742321987285427e+299
3.3484643974570854e+299
6.696928794914171e+299
1.3393857589828342e+300
2.6787715179656683e+300
5.357543035931337e+300
1.0715086071862673e+301
2.1430172143725346e+301
4.2860344287450693e+301
8.572068857490139e+301
1.7144137714980277e+302
3.4288275429960554e+302
6.857655085992111e+302
1.3715310171984222e+303
2.7430620343968443e+303
5.486124068793689e+303
1.0972248137587377e+304
2.1944496275174755e+304
4.388899255034951e+304
8.777798510069902e+304
1.7555597020139804e+305
3.511119404027961e+305
7.022238808055922e+305
1.4044477616111843e+306
2.8088955232223686e+306
5.617791046444737e+306
1.1235582092889474e+307
2.247116418577895e+307
4.49423283715579e+307
8.98846567431158e+307