regression/layout/n=0
About this case
Values 0.d… × 10^0, 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 | 3fe6666666666666 |
0.7 |
| 2 | 3fc999999999999a |
0.2 |
| 3 | 3fe999999999999a |
0.8 |
| 4 | 3fdccccccccccccd |
0.45 |
| 5 | 3fdccccccccccccd |
0.45 |
| 6 | 3fe23d70a3d70a3d |
0.57 |
| 7 | 3fe61cac083126e9 |
0.691 |
| 8 | 3fe5810624dd2f1b |
0.672 |
| 9 | 3fdcdd2f1a9fbe77 |
0.451 |
| 10 | 3fe3643b0e75b637 |
0.605985191575832 |
| 11 | 3fd9f4d5e820f417 |
0.40556857746907 |
| 12 | 3fe3004f3fd10cc3 |
0.5937877890031803 |
Expected output
The output must match these bytes exactly.
0.7
0.2
0.8
0.45
0.45
0.57
0.691
0.672
0.451
0.605985191575832
0.40556857746907
0.5937877890031803