regression/tie/2^50 + j + 1/4 and 3/4

About this case

Each is exactly halfway between two shortest candidates; the even last digit wins.

Source
Focused regression
Input
136 values · 1.1 KiB · raw bytes
Ties
136 values have two equally close shortest decimals
Output
2.5 KiB
Archive
000309_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 4310000000000001 1125899906842624.2
2 4310000000000003 1125899906842624.8
3 43100000000000f5 1125899906842685.2
4 43100000000000f7 1125899906842685.8
5 43100000000001e9 1125899906842746.2
6 43100000000001eb 1125899906842746.8
7 43100000000002dd 1125899906842807.2
8 43100000000002df 1125899906842807.8
9 43100000000003d1 1125899906842868.2
10 43100000000003d3 1125899906842868.8
11 43100000000004c5 1125899906842929.2
12 43100000000004c7 1125899906842929.8
13 43100000000005b9 1125899906842990.2
14 43100000000005bb 1125899906842990.8
15 43100000000006ad 1125899906843051.2
16 43100000000006af 1125899906843051.8
17 43100000000007a1 1125899906843112.2
18 43100000000007a3 1125899906843112.8
19 4310000000000895 1125899906843173.2
20 4310000000000897 1125899906843173.8
21 4310000000000989 1125899906843234.2
22 431000000000098b 1125899906843234.8
23 4310000000000a7d 1125899906843295.2
24 4310000000000a7f 1125899906843295.8
25 4310000000000b71 1125899906843356.2
26 4310000000000b73 1125899906843356.8
27 4310000000000c65 1125899906843417.2
28 4310000000000c67 1125899906843417.8
29 4310000000000d59 1125899906843478.2
30 4310000000000d5b 1125899906843478.8
31 4310000000000e4d 1125899906843539.2
32 4310000000000e4f 1125899906843539.8
33 4310000000000f41 1125899906843600.2
34 4310000000000f43 1125899906843600.8
35 4310000000001035 1125899906843661.2
36 4310000000001037 1125899906843661.8
37 4310000000001129 1125899906843722.2
38 431000000000112b 1125899906843722.8
39 431000000000121d 1125899906843783.2
40 431000000000121f 1125899906843783.8
41 4310000000001311 1125899906843844.2
42 4310000000001313 1125899906843844.8
43 4310000000001405 1125899906843905.2
44 4310000000001407 1125899906843905.8
45 43100000000014f9 1125899906843966.2
46 43100000000014fb 1125899906843966.8
47 43100000000015ed 1125899906844027.2
48 43100000000015ef 1125899906844027.8
49 43100000000016e1 1125899906844088.2
50 43100000000016e3 1125899906844088.8
51 43100000000017d5 1125899906844149.2
52 43100000000017d7 1125899906844149.8
53 43100000000018c9 1125899906844210.2
54 43100000000018cb 1125899906844210.8
55 43100000000019bd 1125899906844271.2
56 43100000000019bf 1125899906844271.8
57 4310000000001ab1 1125899906844332.2
58 4310000000001ab3 1125899906844332.8
59 4310000000001ba5 1125899906844393.2
60 4310000000001ba7 1125899906844393.8
61 4310000000001c99 1125899906844454.2
62 4310000000001c9b 1125899906844454.8
63 4310000000001d8d 1125899906844515.2
64 4310000000001d8f 1125899906844515.8
65 4310000000001e81 1125899906844576.2
66 4310000000001e83 1125899906844576.8
67 4310000000001f75 1125899906844637.2
68 4310000000001f77 1125899906844637.8
69 4310000000002069 1125899906844698.2
70 431000000000206b 1125899906844698.8
71 431000000000215d 1125899906844759.2
72 431000000000215f 1125899906844759.8
73 4310000000002251 1125899906844820.2
74 4310000000002253 1125899906844820.8
75 4310000000002345 1125899906844881.2
76 4310000000002347 1125899906844881.8
77 4310000000002439 1125899906844942.2
78 431000000000243b 1125899906844942.8
79 431000000000252d 1125899906845003.2
80 431000000000252f 1125899906845003.8
81 4310000000002621 1125899906845064.2
82 4310000000002623 1125899906845064.8
83 4310000000002715 1125899906845125.2
84 4310000000002717 1125899906845125.8
85 4310000000002809 1125899906845186.2
86 431000000000280b 1125899906845186.8
87 43100000000028fd 1125899906845247.2
88 43100000000028ff 1125899906845247.8
89 43100000000029f1 1125899906845308.2
90 43100000000029f3 1125899906845308.8
91 4310000000002ae5 1125899906845369.2
92 4310000000002ae7 1125899906845369.8
93 4310000000002bd9 1125899906845430.2
94 4310000000002bdb 1125899906845430.8
95 4310000000002ccd 1125899906845491.2
96 4310000000002ccf 1125899906845491.8
97 4310000000002dc1 1125899906845552.2
98 4310000000002dc3 1125899906845552.8
99 4310000000002eb5 1125899906845613.2
100 4310000000002eb7 1125899906845613.8
101 4310000000002fa9 1125899906845674.2
102 4310000000002fab 1125899906845674.8
103 431000000000309d 1125899906845735.2
104 431000000000309f 1125899906845735.8
105 4310000000003191 1125899906845796.2
106 4310000000003193 1125899906845796.8
107 4310000000003285 1125899906845857.2
108 4310000000003287 1125899906845857.8
109 4310000000003379 1125899906845918.2
110 431000000000337b 1125899906845918.8
111 431000000000346d 1125899906845979.2
112 431000000000346f 1125899906845979.8
113 4310000000003561 1125899906846040.2
114 4310000000003563 1125899906846040.8
115 4310000000003655 1125899906846101.2
116 4310000000003657 1125899906846101.8
117 4310000000003749 1125899906846162.2
118 431000000000374b 1125899906846162.8
119 431000000000383d 1125899906846223.2
120 431000000000383f 1125899906846223.8
121 4310000000003931 1125899906846284.2
122 4310000000003933 1125899906846284.8
123 4310000000003a25 1125899906846345.2
124 4310000000003a27 1125899906846345.8
125 4310000000003b19 1125899906846406.2
126 4310000000003b1b 1125899906846406.8
127 4310000000003c0d 1125899906846467.2
128 4310000000003c0f 1125899906846467.8
129 4310000000003d01 1125899906846528.2
130 4310000000003d03 1125899906846528.8
131 4310000000003df5 1125899906846589.2
132 4310000000003df7 1125899906846589.8
133 4310000000003ee9 1125899906846650.2
134 4310000000003eeb 1125899906846650.8
135 4310000000003fdd 1125899906846711.2
136 4310000000003fdf 1125899906846711.8

Expected output

The output must match these bytes exactly.

1125899906842624.2
1125899906842624.8
1125899906842685.2
1125899906842685.8
1125899906842746.2
1125899906842746.8
1125899906842807.2
1125899906842807.8
1125899906842868.2
1125899906842868.8
1125899906842929.2
1125899906842929.8
1125899906842990.2
1125899906842990.8
1125899906843051.2
1125899906843051.8
1125899906843112.2
1125899906843112.8
1125899906843173.2
1125899906843173.8
1125899906843234.2
1125899906843234.8
1125899906843295.2
1125899906843295.8
1125899906843356.2
1125899906843356.8
1125899906843417.2
1125899906843417.8
1125899906843478.2
1125899906843478.8
1125899906843539.2
1125899906843539.8
1125899906843600.2
1125899906843600.8
1125899906843661.2
1125899906843661.8
1125899906843722.2
1125899906843722.8
1125899906843783.2
1125899906843783.8
1125899906843844.2
1125899906843844.8
1125899906843905.2
1125899906843905.8
1125899906843966.2
1125899906843966.8
1125899906844027.2
1125899906844027.8
1125899906844088.2
1125899906844088.8
1125899906844149.2
1125899906844149.8
1125899906844210.2
1125899906844210.8
1125899906844271.2
1125899906844271.8
1125899906844332.2
1125899906844332.8
1125899906844393.2
1125899906844393.8
1125899906844454.2
1125899906844454.8
1125899906844515.2
1125899906844515.8
1125899906844576.2
1125899906844576.8
1125899906844637.2
1125899906844637.8
1125899906844698.2
1125899906844698.8
1125899906844759.2
1125899906844759.8
1125899906844820.2
1125899906844820.8
1125899906844881.2
1125899906844881.8
1125899906844942.2
1125899906844942.8
1125899906845003.2
1125899906845003.8
1125899906845064.2
1125899906845064.8
1125899906845125.2
1125899906845125.8
1125899906845186.2
1125899906845186.8
1125899906845247.2
1125899906845247.8
1125899906845308.2
1125899906845308.8
1125899906845369.2
1125899906845369.8
1125899906845430.2
1125899906845430.8
1125899906845491.2
1125899906845491.8
1125899906845552.2
1125899906845552.8
1125899906845613.2
1125899906845613.8
1125899906845674.2
1125899906845674.8
1125899906845735.2
1125899906845735.8
1125899906845796.2
1125899906845796.8
1125899906845857.2
1125899906845857.8
1125899906845918.2
1125899906845918.8
1125899906845979.2
1125899906845979.8
1125899906846040.2
1125899906846040.8
1125899906846101.2
1125899906846101.8
1125899906846162.2
1125899906846162.8
1125899906846223.2
1125899906846223.8
1125899906846284.2
1125899906846284.8
1125899906846345.2
1125899906846345.8
1125899906846406.2
1125899906846406.8
1125899906846467.2
1125899906846467.8
1125899906846528.2
1125899906846528.8
1125899906846589.2
1125899906846589.8
1125899906846650.2
1125899906846650.8
1125899906846711.2
1125899906846711.8