regression/power of ten/1e29 to 1e60

About this case

The double nearest each power of ten, and the doubles either side of it.

Source
Focused regression
Input
96 values · 768 B · raw bytes
Output
1.6 KiB
Archive
000268_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 45f431e0fae6d720 9.999999999999997e+28
2 45f431e0fae6d721 1e+29
3 45f431e0fae6d722 1.0000000000000001e+29
4 46293e5939a08ce9 9.999999999999999e+29
5 46293e5939a08cea 1e+30
6 46293e5939a08ceb 1.0000000000000002e+30
7 465f8def8808b023 9.999999999999999e+30
8 465f8def8808b024 1e+31
9 465f8def8808b025 1.0000000000000001e+31
10 4693b8b5b5056e16 9.999999999999999e+31
11 4693b8b5b5056e17 1e+32
12 4693b8b5b5056e18 1.0000000000000002e+32
13 46c8a6e32246c99b 9.999999999999998e+32
14 46c8a6e32246c99c 1e+33
15 46c8a6e32246c99d 1.0000000000000001e+33
16 46fed09bead87c02 9.999999999999998e+33
17 46fed09bead87c03 1e+34
18 46fed09bead87c04 1.0000000000000001e+34
19 4733426172c74d81 9.999999999999998e+34
20 4733426172c74d82 1e+35
21 4733426172c74d83 1.0000000000000002e+35
22 476812f9cf7920e2 9.999999999999999e+35
23 476812f9cf7920e3 1e+36
24 476812f9cf7920e4 1.0000000000000002e+36
25 479e17b84357691a 9.999999999999998e+36
26 479e17b84357691b 1e+37
27 479e17b84357691c 1.0000000000000001e+37
28 47d2ced32a16a1b0 9.999999999999998e+37
29 47d2ced32a16a1b1 1e+38
30 47d2ced32a16a1b2 1.0000000000000002e+38
31 48078287f49c4a1c 9.999999999999998e+38
32 48078287f49c4a1d 1e+39
33 48078287f49c4a1e 1.0000000000000001e+39
34 483d6329f1c35ca4 9.999999999999999e+39
35 483d6329f1c35ca5 1e+40
36 483d6329f1c35ca6 1.0000000000000002e+40
37 48725dfa371a19e6 9.999999999999998e+40
38 48725dfa371a19e7 1e+41
39 48725dfa371a19e8 1.0000000000000002e+41
40 48a6f578c4e0a060 9.999999999999999e+41
41 48a6f578c4e0a061 1e+42
42 48a6f578c4e0a062 1.0000000000000002e+42
43 48dcb2d6f618c878 9.999999999999999e+42
44 48dcb2d6f618c879 1e+43
45 48dcb2d6f618c87a 1.0000000000000001e+43
46 4911efc659cf7d4b 9.999999999999999e+43
47 4911efc659cf7d4c 1e+44
48 4911efc659cf7d4d 1.0000000000000003e+44
49 49466bb7f0435c9d 9.999999999999998e+44
50 49466bb7f0435c9e 1e+45
51 49466bb7f0435c9f 1.0000000000000001e+45
52 497c06a5ec5433c5 9.999999999999999e+45
53 497c06a5ec5433c6 1e+46
54 497c06a5ec5433c7 1.0000000000000001e+46
55 49b18427b3b4a05b 9.999999999999998e+46
56 49b18427b3b4a05c 1e+47
57 49b18427b3b4a05d 1.0000000000000002e+47
58 49e5e531a0a1c872 9.999999999999999e+47
59 49e5e531a0a1c873 1e+48
60 49e5e531a0a1c874 1.0000000000000002e+48
61 4a1b5e7e08ca3a8e 9.999999999999998e+48
62 4a1b5e7e08ca3a8f 1e+49
63 4a1b5e7e08ca3a90 1.0000000000000001e+49
64 4a511b0ec57e6499 9.999999999999999e+49
65 4a511b0ec57e649a 1e+50
66 4a511b0ec57e649b 1.0000000000000003e+50
67 4a8561d276ddfdbf 9.999999999999998e+50
68 4a8561d276ddfdc0 1e+51
69 4a8561d276ddfdc1 1.0000000000000002e+51
70 4ababa4714957d2f 9.999999999999999e+51
71 4ababa4714957d30 1e+52
72 4ababa4714957d31 1.0000000000000001e+52
73 4af0b46c6cdd6e3d 9.999999999999998e+52
74 4af0b46c6cdd6e3e 1e+53
75 4af0b46c6cdd6e3f 1.0000000000000002e+53
76 4b24e1878814c9cd 9.999999999999999e+53
77 4b24e1878814c9ce 1e+54
78 4b24e1878814c9cf 1.0000000000000002e+54
79 4b5a19e96a19fc40 9.999999999999999e+54
80 4b5a19e96a19fc41 1e+55
81 4b5a19e96a19fc42 1.0000000000000001e+55
82 4b905031e2503da8 9.999999999999999e+55
83 4b905031e2503da9 1e+56
84 4b905031e2503daa 1.0000000000000003e+56
85 4bc4643e5ae44d12 9.999999999999999e+56
86 4bc4643e5ae44d13 1e+57
87 4bc4643e5ae44d14 1.0000000000000002e+57
88 4bf97d4df19d6056 9.999999999999998e+57
89 4bf97d4df19d6057 1e+58
90 4bf97d4df19d6058 1.0000000000000001e+58
91 4c2fdca16e04b86c 9.999999999999999e+58
92 4c2fdca16e04b86d 1e+59
93 4c2fdca16e04b86e 1.0000000000000001e+59
94 4c63e9e4e4c2f343 9.999999999999998e+59
95 4c63e9e4e4c2f344 1e+60
96 4c63e9e4e4c2f345 1.0000000000000001e+60

Expected output

The output must match these bytes exactly.

9.999999999999997e+28
1e+29
1.0000000000000001e+29
9.999999999999999e+29
1e+30
1.0000000000000002e+30
9.999999999999999e+30
1e+31
1.0000000000000001e+31
9.999999999999999e+31
1e+32
1.0000000000000002e+32
9.999999999999998e+32
1e+33
1.0000000000000001e+33
9.999999999999998e+33
1e+34
1.0000000000000001e+34
9.999999999999998e+34
1e+35
1.0000000000000002e+35
9.999999999999999e+35
1e+36
1.0000000000000002e+36
9.999999999999998e+36
1e+37
1.0000000000000001e+37
9.999999999999998e+37
1e+38
1.0000000000000002e+38
9.999999999999998e+38
1e+39
1.0000000000000001e+39
9.999999999999999e+39
1e+40
1.0000000000000002e+40
9.999999999999998e+40
1e+41
1.0000000000000002e+41
9.999999999999999e+41
1e+42
1.0000000000000002e+42
9.999999999999999e+42
1e+43
1.0000000000000001e+43
9.999999999999999e+43
1e+44
1.0000000000000003e+44
9.999999999999998e+44
1e+45
1.0000000000000001e+45
9.999999999999999e+45
1e+46
1.0000000000000001e+46
9.999999999999998e+46
1e+47
1.0000000000000002e+47
9.999999999999999e+47
1e+48
1.0000000000000002e+48
9.999999999999998e+48
1e+49
1.0000000000000001e+49
9.999999999999999e+49
1e+50
1.0000000000000003e+50
9.999999999999998e+50
1e+51
1.0000000000000002e+51
9.999999999999999e+51
1e+52
1.0000000000000001e+52
9.999999999999998e+52
1e+53
1.0000000000000002e+53
9.999999999999999e+53
1e+54
1.0000000000000002e+54
9.999999999999999e+54
1e+55
1.0000000000000001e+55
9.999999999999999e+55
1e+56
1.0000000000000003e+56
9.999999999999999e+56
1e+57
1.0000000000000002e+57
9.999999999999998e+57
1e+58
1.0000000000000001e+58
9.999999999999999e+58
1e+59
1.0000000000000001e+59
9.999999999999998e+59
1e+60
1.0000000000000001e+60