regression/layout/n=-1
About this case
Values 0.d… × 10^-1, with 1, 2, 3 and 17 significant digits.
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 | 3f9eb851eb851eb8 |
0.03 |
| 2 | 3f947ae147ae147b |
0.02 |
| 3 | 3fb70a3d70a3d70a |
0.09 |
| 4 | 3fb7ced916872b02 |
0.093 |
| 5 | 3fa6872b020c49ba |
0.044 |
| 6 | 3fb74bc6a7ef9db2 |
0.091 |
| 7 | 3fb0d844d013a92a |
0.0658 |
| 8 | 3fb573eab367a0f9 |
0.0838 |
| 9 | 3fb60aa64c2f837b |
0.0861 |
| 10 | 3fb7d5e18ade1048 |
0.09310731544798145 |
| 11 | 3fb4213e41746c00 |
0.07863225076691549 |
| 12 | 3fa5e056f9abf417 |
0.042727201440335864 |
Expected output
The output must match these bytes exactly.
0.03
0.02
0.09
0.093
0.044
0.091
0.0658
0.0838
0.0861
0.09310731544798145
0.07863225076691549
0.042727201440335864