rfc8785/all samples
About this case
Every finite sample of RFC 8785 Appendix B, in the table's order.
- Source
- RFC 8785 Appendix B
- Topics
- batch boundary long output rfc8785 tie
- Input
- 24 values · 192 B · raw bytes
- Ties
- 1 value has two equally close shortest decimals
- Output
- 393 B
- Archive
000024_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 | 0000000000000000 |
0 |
| 2 | 8000000000000000 |
0 |
| 3 | 0000000000000001 |
5e-324 |
| 4 | 8000000000000001 |
-5e-324 |
| 5 | 7fefffffffffffff |
1.7976931348623157e+308 |
| 6 | ffefffffffffffff |
-1.7976931348623157e+308 |
| 7 | 4340000000000000 |
9007199254740992 |
| 8 | c340000000000000 |
-9007199254740992 |
| 9 | 4430000000000000 |
295147905179352830000 |
| 10 | 44b52d02c7e14af5 |
9.999999999999997e+22 |
| 11 | 44b52d02c7e14af6 |
1e+23 |
| 12 | 44b52d02c7e14af7 |
1.0000000000000001e+23 |
| 13 | 444b1ae4d6e2ef4e |
999999999999999700000 |
| 14 | 444b1ae4d6e2ef4f |
999999999999999900000 |
| 15 | 444b1ae4d6e2ef50 |
1e+21 |
| 16 | 3eb0c6f7a0b5ed8c |
9.999999999999997e-7 |
| 17 | 3eb0c6f7a0b5ed8d |
0.000001 |
| 18 | 41b3de4355555553 |
333333333.3333332 |
| 19 | 41b3de4355555554 |
333333333.33333325 |
| 20 | 41b3de4355555555 |
333333333.3333333 |
| 21 | 41b3de4355555556 |
333333333.3333334 |
| 22 | 41b3de4355555557 |
333333333.33333343 |
| 23 | becbf647612f3696 |
-0.0000033333333333333333 |
| 24 | 43143ff3c1cb0959 |
1424953923781206.2 |
Expected output
The output must match these bytes exactly.
0
0
5e-324
-5e-324
1.7976931348623157e+308
-1.7976931348623157e+308
9007199254740992
-9007199254740992
295147905179352830000
9.999999999999997e+22
1e+23
1.0000000000000001e+23
999999999999999700000
999999999999999900000
1e+21
9.999999999999997e-7
0.000001
333333333.3333332
333333333.33333325
333333333.3333333
333333333.3333334
333333333.33333343
-0.0000033333333333333333
1424953923781206.2