regression/layout/n=-4
About this case
Values 0.d… × 10^-4, 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 | 3ef4f8b588e368f1 |
0.00002 |
| 2 | 3ee4f8b588e368f1 |
0.00001 |
| 3 | 3f0a36e2eb1c432d |
0.00005 |
| 4 | 3f057eed45e9185d |
0.000041 |
| 5 | 3f196d8f4f93bc0a |
0.000097 |
| 6 | 3f03ec460ed80a18 |
0.000038 |
| 7 | 3ee8f4c38bdb6af5 |
0.0000119 |
| 8 | 3f004e2bdcfd9c78 |
0.0000311 |
| 9 | 3f156acb4ff50ad9 |
0.0000817 |
| 10 | 3f05f50eee9b5a89 |
0.00004188014811539349 |
| 11 | 3f0c59d8d6bd4673 |
0.00005407517423229322 |
| 12 | 3f067d3db9210008 |
0.000042894788876868316 |
Expected output
The output must match these bytes exactly.
0.00002
0.00001
0.00005
0.000041
0.000097
0.000038
0.0000119
0.0000311
0.0000817
0.00004188014811539349
0.00005407517423229322
0.000042894788876868316