ryu/OutputLength/all

About this case

Every finite value of Ryū's d2s test OutputLength, in order.

Input
22 values · 176 B · raw bytes
Output
246 B
Archive
000064_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 3ff0000000000000 1
2 3ff3333333333333 1.2
3 3ff3ae147ae147ae 1.23
4 3ff3be76c8b43958 1.234
5 3ff3c083126e978d 1.2345
6 3ff3c0c1fc8f3238 1.23456
7 3ff3c0c9539b8887 1.234567
8 3ff3c0ca2a5b1d5d 1.2345678
9 3ff3c0ca4283de1b 1.23456789
10 3ff3c0ca43db770a 1.234567895
11 3ff3c0ca428abd53 1.2345678901
12 3ff3c0ca428c1d2b 1.23456789012
13 3ff3c0ca428c51f2 1.234567890123
14 3ff3c0ca428c58fc 1.2345678901234
15 3ff3c0ca428c59dd 1.23456789012345
16 3ff3c0ca428c59f8 1.234567890123456
17 3ff3c0ca428c59fb 1.2345678901234567
18 40112e0be8047a7d 4.294967294
19 40112e0be815a889 4.294967295
20 40112e0be826d695 4.294967296
21 40112e0be83804a1 4.294967297
22 40112e0be84932ad 4.294967298

Expected output

The output must match these bytes exactly.

1
1.2
1.23
1.234
1.2345
1.23456
1.234567
1.2345678
1.23456789
1.234567895
1.2345678901
1.23456789012
1.234567890123
1.2345678901234
1.23456789012345
1.234567890123456
1.2345678901234567
4.294967294
4.294967295
4.294967296
4.294967297
4.294967298