regression/boundary/sweep 1

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.2 KiB
Archive
000314_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 43533ff205a73daf 21673333067937468
2 43533ff205a73db0 21673333067937470
3 435140ccfd981a1a 19425295104764010
4 435140ccfd981a1b 19425295104764012
5 435b43fc69da379e 30698303031664250
6 435b43fc69da379f 30698303031664252
7 435ac780177d6cee 30150809433256890
8 435ac780177d6cef 30150809433256892
9 436d7c6377a5ec00 66396327804624900
10 436d7c6377a5ec01 66396327804624904
11 436c70ab341e4366 64041439712123700
12 436c70ab341e4367 64041439712123704
13 4363a10d76e1f551 44200830069353096
14 4363a10d76e1f552 44200830069353100
15 436a68aaca8f1727 59467457172650296
16 436a68aaca8f1728 59467457172650300
17 437e2bf50a3171a7 135881291829025390
18 437e2bf50a3171a8 135881291829025400
19 437025cfbcf40be0 72722780575022600
20 437025cfbcf40be1 72722780575022610
21 437f39b44eb5620c 140626733686989000
22 437f39b44eb5620d 140626733686989010
23 4378268422965617 108763974381953390
24 4378268422965618 108763974381953400
25 438d20a545d69c7a 262357393215819600
26 438d20a545d69c7b 262357393215819620
27 438694ea8c79561f 203397906804949980
28 438694ea8c795620 203397906804950000
29 438ba5e028b4f529 249030609452573980
30 438ba5e028b4f52a 249030609452574000
31 43815d99c0e800b4 156415665660499600
32 43815d99c0e800b5 156415665660499620
33 439d2e0b7da3f28d 525657677569499970
34 439d2e0b7da3f28e 525657677569500000
35 4394f1fa15aa8c37 377315580277099970
36 4394f1fa15aa8c38 377315580277100000
37 4392f308012ddd9c 341360978295220000
38 4392f308012ddd9d 341360978295220030
39 4397308faf82317c 417748361430196000
40 4397308faf82317d 417748361430196030
41 43a16e773a7bd656 628036219576200000
42 43a16e773a7bd657 628036219576200100
43 43ad09c25a797b60 1046208597865640000
44 43ad09c25a797b61 1046208597865640100
45 43a2ba0280f9f8e2 674696895661896000
46 43a2ba0280f9f8e3 674696895661896100
47 43a92100ca3ee8ad 905364696909239900
48 43a92100ca3ee8ae 905364696909240000
49 43b539f1949b2f0d 1529519169029999900
50 43b539f1949b2f0e 1529519169030000000
51 43b5e43d7de8da8e 1577453380473360000
52 43b5e43d7de8da8f 1577453380473360100
53 43bdf8d9d66396aa 2159715536141200000
54 43bdf8d9d66396ab 2159715536141200100
55 43b514660cb42bf4 1518951179079120000
56 43b514660cb42bf5 1518951179079120100
57 43c4c48b83318abd 2992948743563999700
58 43c4c48b83318abe 2992948743564000000
59 43c1039f6c33d83a 2451997621300000000
60 43c1039f6c33d83b 2451997621300000300
61 43c2b4a15ab5368a 2695759198900000000
62 43c2b4a15ab5368b 2695759198900000300
63 43ca2fee7758cee4 3773977930500000000
64 43ca2fee7758cee5 3773977930500000300

Expected output

The output must match these bytes exactly.

21673333067937468
21673333067937470
19425295104764010
19425295104764012
30698303031664250
30698303031664252
30150809433256890
30150809433256892
66396327804624900
66396327804624904
64041439712123700
64041439712123704
44200830069353096
44200830069353100
59467457172650296
59467457172650300
135881291829025390
135881291829025400
72722780575022600
72722780575022610
140626733686989000
140626733686989010
108763974381953390
108763974381953400
262357393215819600
262357393215819620
203397906804949980
203397906804950000
249030609452573980
249030609452574000
156415665660499600
156415665660499620
525657677569499970
525657677569500000
377315580277099970
377315580277100000
341360978295220000
341360978295220030
417748361430196000
417748361430196030
628036219576200000
628036219576200100
1046208597865640000
1046208597865640100
674696895661896000
674696895661896100
905364696909239900
905364696909240000
1529519169029999900
1529519169030000000
1577453380473360000
1577453380473360100
2159715536141200000
2159715536141200100
1518951179079120000
1518951179079120100
2992948743563999700
2992948743564000000
2451997621300000000
2451997621300000300
2695759198900000000
2695759198900000300
3773977930500000000
3773977930500000300