regression/threshold/around 1e21
About this case
1e21 and the two doubles either side of it.
- Source
- Focused regression
- Topics
- exponent threshold neighbours
- Input
- 5 values · 40 B · raw bytes
- Output
- 96 B
- Archive
000176_must_render_exactly/input
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 | 444b1ae4d6e2ef4e |
999999999999999700000 |
| 2 | 444b1ae4d6e2ef4f |
999999999999999900000 |
| 3 | 444b1ae4d6e2ef50 |
1e+21 |
| 4 | 444b1ae4d6e2ef51 |
1.0000000000000001e+21 |
| 5 | 444b1ae4d6e2ef52 |
1.0000000000000003e+21 |
Expected output
The output must match these bytes exactly.
999999999999999700000
999999999999999900000
1e+21
1.0000000000000001e+21
1.0000000000000003e+21