regression/boundary/sweep 2
About this case
Pairs of doubles either side of a decimal exactly halfway between them, from 2^54 up: the even one's shortest digits are that decimal, and the odd one's are not.
- Source
- Focused regression
- Input
- 64 values · 512 B · raw bytes
- Output
- 1.3 KiB
- Archive
000315_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 | 43d571d46fdb4548 |
6180998896200000000 |
| 2 | 43d571d46fdb4549 |
6180998896200001000 |
| 3 | 43d2326f4abe58f6 |
5244931233320000000 |
| 4 | 43d2326f4abe58f7 |
5244931233320001000 |
| 5 | 43d51a1b9a49eac5 |
6082232694679999000 |
| 6 | 43d51a1b9a49eac6 |
6082232694680000000 |
| 7 | 43d466a4a21068b3 |
5880173377399999000 |
| 8 | 43d466a4a21068b4 |
5880173377400000000 |
| 9 | 43ed99fb07a2b8bf |
17064095269999999000 |
| 10 | 43ed99fb07a2b8c0 |
17064095270000000000 |
| 11 | 43ecc60b61f1f831 |
16586857549999999000 |
| 12 | 43ecc60b61f1f832 |
16586857550000000000 |
| 13 | 43ed23211a817b70 |
16796465992080000000 |
| 14 | 43ed23211a817b71 |
16796465992080001000 |
| 15 | 43e948cc1288ebd4 |
14575443434000000000 |
| 16 | 43e948cc1288ebd5 |
14575443434000001000 |
| 17 | 43fe45d7a10dacac |
34902186900000000000 |
| 18 | 43fe45d7a10dacad |
34902186900000002000 |
| 19 | 43f9bd01725d50fa |
29674243396000000000 |
| 20 | 43f9bd01725d50fb |
29674243396000002000 |
| 21 | 43fb0378f720660b |
31144519467999998000 |
| 22 | 43fb0378f720660c |
31144519468000000000 |
| 23 | 43f2042256d673f1 |
20771205583199998000 |
| 24 | 43f2042256d673f2 |
20771205583200000000 |
| 25 | 440b2d62bbb15b70 |
62666559080000000000 |
| 26 | 440b2d62bbb15b71 |
62666559080000004000 |
| 27 | 44079d8073ba3bef |
54453038999999996000 |
| 28 | 44079d8073ba3bf0 |
54453039000000000000 |
| 29 | 4404147bac88a6dc |
46301355560000000000 |
| 30 | 4404147bac88a6dd |
46301355560000004000 |
| 31 | 44026c7594b6cdbd |
42482088695999996000 |
| 32 | 44026c7594b6cdbe |
42482088696000000000 |
| 33 | 441ff323e0688a5c |
147342290000000000000 |
| 34 | 441ff323e0688a5d |
147342290000000010000 |
| 35 | 441d92ef7155d485 |
136385845999999990000 |
| 36 | 441d92ef7155d486 |
136385846000000000000 |
| 37 | 4413b1a2ac5b677b |
90822029999999990000 |
| 38 | 4413b1a2ac5b677c |
90822030000000000000 |
| 39 | 4414ad391ffb2864 |
95354231120000000000 |
| 40 | 4414ad391ffb2865 |
95354231120000010000 |
| 41 | 4421e71a74930456 |
165123700000000000000 |
| 42 | 4421e71a74930457 |
165123700000000020000 |
| 43 | 4428d3c33fe8a98a |
228990484000000000000 |
| 44 | 4428d3c33fe8a98b |
228990484000000020000 |
| 45 | 442d1763d2410e66 |
268320500000000000000 |
| 46 | 442d1763d2410e67 |
268320500000000020000 |
| 47 | 442629e69a6990c9 |
204423819999999980000 |
| 48 | 442629e69a6990ca |
204423820000000000000 |
| 49 | 443aefda7404b4ea |
496898600000000000000 |
| 50 | 443aefda7404b4eb |
496898600000000030000 |
| 51 | 44346a8e281e6a30 |
376613000000000000000 |
| 52 | 44346a8e281e6a31 |
376613000000000030000 |
| 53 | 4432d75c74a635cf |
347559799999999970000 |
| 54 | 4432d75c74a635d0 |
347559800000000000000 |
| 55 | 44323a4ad79d55f0 |
336241800000000000000 |
| 56 | 44323a4ad79d55f1 |
336241800000000030000 |
| 57 | 44492a8c9d14658e |
928469200000000000000 |
| 58 | 44492a8c9d14658f |
928469200000000100000 |
| 59 | 444e8f4fbabc5a2e |
1.127458e+21 |
| 60 | 444e8f4fbabc5a2f |
1.1274580000000001e+21 |
| 61 | 44420aeb4c8028aa |
665656400000000000000 |
| 62 | 44420aeb4c8028ab |
665656400000000100000 |
| 63 | 4448b0a6ff6acc6f |
910901999999999900000 |
| 64 | 4448b0a6ff6acc70 |
910902000000000000000 |
Expected output
The output must match these bytes exactly.
6180998896200000000
6180998896200001000
5244931233320000000
5244931233320001000
6082232694679999000
6082232694680000000
5880173377399999000
5880173377400000000
17064095269999999000
17064095270000000000
16586857549999999000
16586857550000000000
16796465992080000000
16796465992080001000
14575443434000000000
14575443434000001000
34902186900000000000
34902186900000002000
29674243396000000000
29674243396000002000
31144519467999998000
31144519468000000000
20771205583199998000
20771205583200000000
62666559080000000000
62666559080000004000
54453038999999996000
54453039000000000000
46301355560000000000
46301355560000004000
42482088695999996000
42482088696000000000
147342290000000000000
147342290000000010000
136385845999999990000
136385846000000000000
90822029999999990000
90822030000000000000
95354231120000000000
95354231120000010000
165123700000000000000
165123700000000020000
228990484000000000000
228990484000000020000
268320500000000000000
268320500000000020000
204423819999999980000
204423820000000000000
496898600000000000000
496898600000000030000
376613000000000000000
376613000000000030000
347559799999999970000
347559800000000000000
336241800000000000000
336241800000000030000
928469200000000000000
928469200000000100000
1.127458e+21
1.1274580000000001e+21
665656400000000000000
665656400000000100000
910901999999999900000
910902000000000000000