regression/layout/n=24
About this case
Values 0.d… × 10^24, 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 | 44e7d2a320dd7455 |
9e+23 |
| 2 | 44e7d2a320dd7455 |
9e+23 |
| 3 | 44e287626ee52198 |
7e+23 |
| 4 | 44d7d2a320dd7455 |
4.5e+23 |
| 5 | 44e6c396307896fc |
8.6e+23 |
| 6 | 44c969368974c05b |
2.4e+23 |
| 7 | 44e8ab7a47948bd0 |
9.32e+23 |
| 8 | 44e4760d3f36cf27 |
7.73e+23 |
| 9 | 44d8ef3d83adc326 |
4.71e+23 |
| 10 | 44d8a0f3697900a0 |
4.652232572957295e+23 |
| 11 | 44ddca8dc44c07ab |
5.6274034271823856e+23 |
| 12 | 44e527114feaef23 |
7.991229330645747e+23 |
Expected output
The output must match these bytes exactly.
9e+23
9e+23
7e+23
4.5e+23
8.6e+23
2.4e+23
9.32e+23
7.73e+23
4.71e+23
4.652232572957295e+23
5.6274034271823856e+23
7.991229330645747e+23