regression/integer/powers of ten
About this case
10^0 to 10^22, all exact in binary.
- Source
- Focused regression
- Topics
- batch exponent threshold integer
- Input
- 23 values · 184 B · raw bytes
- Output
- 264 B
- Archive
000221_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 | 3ff0000000000000 |
1 |
| 2 | 4024000000000000 |
10 |
| 3 | 4059000000000000 |
100 |
| 4 | 408f400000000000 |
1000 |
| 5 | 40c3880000000000 |
10000 |
| 6 | 40f86a0000000000 |
100000 |
| 7 | 412e848000000000 |
1000000 |
| 8 | 416312d000000000 |
10000000 |
| 9 | 4197d78400000000 |
100000000 |
| 10 | 41cdcd6500000000 |
1000000000 |
| 11 | 4202a05f20000000 |
10000000000 |
| 12 | 42374876e8000000 |
100000000000 |
| 13 | 426d1a94a2000000 |
1000000000000 |
| 14 | 42a2309ce5400000 |
10000000000000 |
| 15 | 42d6bcc41e900000 |
100000000000000 |
| 16 | 430c6bf526340000 |
1000000000000000 |
| 17 | 4341c37937e08000 |
10000000000000000 |
| 18 | 4376345785d8a000 |
100000000000000000 |
| 19 | 43abc16d674ec800 |
1000000000000000000 |
| 20 | 43e158e460913d00 |
10000000000000000000 |
| 21 | 4415af1d78b58c40 |
100000000000000000000 |
| 22 | 444b1ae4d6e2ef50 |
1e+21 |
| 23 | 4480f0cf064dd592 |
1e+22 |
Expected output
The output must match these bytes exactly.
1
10
100
1000
10000
100000
1000000
10000000
100000000
1000000000
10000000000
100000000000
1000000000000
10000000000000
100000000000000
1000000000000000
10000000000000000
100000000000000000
1000000000000000000
10000000000000000000
100000000000000000000
1e+21
1e+22