regression/layout/n=-2
About this case
Values 0.d… × 10^-2, 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 | 3f80624dd2f1a9fc |
0.008 |
| 2 | 3f60624dd2f1a9fc |
0.002 |
| 3 | 3f689374bc6a7efa |
0.003 |
| 4 | 3f83404ea4a8c155 |
0.0094 |
| 5 | 3f63a92a30553261 |
0.0024 |
| 6 | 3f5d7dbf487fcb92 |
0.0018 |
| 7 | 3f6a60d4562e09ff |
0.00322 |
| 8 | 3f5815a07b352a84 |
0.00147 |
| 9 | 3f7d29dc725c3dee |
0.00712 |
| 10 | 3f60b67ea7804957 |
0.0020401452748128146 |
| 11 | 3f77096abad54b97 |
0.005624215043399958 |
| 12 | 3f82b9eea67b1fc4 |
0.009143700080485824 |
Expected output
The output must match these bytes exactly.
0.008
0.002
0.003
0.0094
0.0024
0.0018
0.00322
0.00147
0.00712
0.0020401452748128146
0.005624215043399958
0.009143700080485824