regression/boundary/sweep 3
About this case
Pairs of doubles either side of a decimal exactly halfway between them, from 2^54 up: the even one's shortest digits are that decimal, and the odd one's are not.
- Source
- Focused regression
- Input
- 64 values · 512 B · raw bytes
- Output
- 1.0 KiB
- Archive
000316_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 | 44553c3722467ae1 |
1.5668823999999999e+21 |
| 2 | 44553c3722467ae2 |
1.5668824e+21 |
| 3 | 4450a15bbd22ea75 |
1.2270999999999999e+21 |
| 4 | 4450a15bbd22ea76 |
1.2271e+21 |
| 5 | 445f2ed9b9d3cc12 |
2.3009e+21 |
| 6 | 445f2ed9b9d3cc13 |
2.3009000000000001e+21 |
| 7 | 445f7791f2108b1e |
2.32186e+21 |
| 8 | 445f7791f2108b1f |
2.3218600000000001e+21 |
| 9 | 446fbf2df2b9cc22 |
4.685e+21 |
| 10 | 446fbf2df2b9cc23 |
4.6850000000000003e+21 |
| 11 | 446077b27e0aaabc |
2.430184e+21 |
| 12 | 446077b27e0aaabd |
2.4301840000000003e+21 |
| 13 | 446c0514e1fa9807 |
4.1349999999999997e+21 |
| 14 | 446c0514e1fa9808 |
4.135e+21 |
| 15 | 44614732aad29460 |
2.5498e+21 |
| 16 | 44614732aad29461 |
2.5498000000000003e+21 |
| 17 | 447866bd3ea2b2b4 |
7.202e+21 |
| 18 | 447866bd3ea2b2b5 |
7.202000000000001e+21 |
| 19 | 44770a68219efc66 |
6.8004e+21 |
| 20 | 44770a68219efc67 |
6.800400000000001e+21 |
| 21 | 447739975b9b68ba |
6.8548e+21 |
| 22 | 447739975b9b68bb |
6.854800000000001e+21 |
| 23 | 4473ad914d4522eb |
5.807919999999999e+21 |
| 24 | 4473ad914d4522ec |
5.80792e+21 |
| 25 | 448ede5bfc8e9ace |
1.82216e+22 |
| 26 | 448ede5bfc8e9acf |
1.8221600000000001e+22 |
| 27 | 448e52e336cde221 |
1.7899999999999999e+22 |
| 28 | 448e52e336cde222 |
1.79e+22 |
| 29 | 448cc75edfcdbf7f |
1.6987999999999999e+22 |
| 30 | 448cc75edfcdbf80 |
1.6988e+22 |
| 31 | 448e2c079da3a709 |
1.7810399999999999e+22 |
| 32 | 448e2c079da3a70a |
1.78104e+22 |
| 33 | 44978c2a0115264d |
2.7799999999999998e+22 |
| 34 | 44978c2a0115264e |
2.78e+22 |
| 35 | 4494061b9d77a5e9 |
2.3639999999999998e+22 |
| 36 | 4494061b9d77a5ea |
2.364e+22 |
| 37 | 449f45bfb415d377 |
3.6919999999999998e+22 |
| 38 | 449f45bfb415d378 |
3.692e+22 |
| 39 | 44914cbfc0b40a88 |
2.0424e+22 |
| 40 | 44914cbfc0b40a89 |
2.0424000000000002e+22 |
| 41 | 44ada56a4b0835bf |
6.9999999999999996e+22 |
| 42 | 44ada56a4b0835c0 |
7e+22 |
| 43 | 44a52d02c7e14af6 |
5e+22 |
| 44 | 44a52d02c7e14af7 |
5.0000000000000004e+22 |
| 45 | 44a8c46a0fdf5c97 |
5.8479999999999996e+22 |
| 46 | 44a8c46a0fdf5c98 |
5.848e+22 |
| 47 | 44a5c922cf46661b |
5.1439999999999996e+22 |
| 48 | 44a5c922cf46661c |
5.144e+22 |
| 49 | 44b7356d8b32501c |
1.096e+23 |
| 50 | 44b7356d8b32501d |
1.0960000000000001e+23 |
| 51 | 44b52d02c7e14af6 |
1e+23 |
| 52 | 44b52d02c7e14af7 |
1.0000000000000001e+23 |
| 53 | 44b7e2e676f7fc7e |
1.128e+23 |
| 54 | 44b7e2e676f7fc7f |
1.1280000000000001e+23 |
| 55 | 44bda56a4b0835bf |
1.3999999999999999e+23 |
| 56 | 44bda56a4b0835c0 |
1.4e+23 |
| 57 | 44c52d02c7e14af6 |
2e+23 |
| 58 | 44c52d02c7e14af7 |
2.0000000000000002e+23 |
| 59 | 44cda56a4b0835bf |
2.7999999999999998e+23 |
| 60 | 44cda56a4b0835c0 |
2.8e+23 |
| 61 | 44c37b547a731c01 |
1.8399999999999998e+23 |
| 62 | 44c37b547a731c02 |
1.84e+23 |
| 63 | 44cd4eadd5255f8e |
2.768e+23 |
| 64 | 44cd4eadd5255f8f |
2.7680000000000002e+23 |
Expected output
The output must match these bytes exactly.
1.5668823999999999e+21
1.5668824e+21
1.2270999999999999e+21
1.2271e+21
2.3009e+21
2.3009000000000001e+21
2.32186e+21
2.3218600000000001e+21
4.685e+21
4.6850000000000003e+21
2.430184e+21
2.4301840000000003e+21
4.1349999999999997e+21
4.135e+21
2.5498e+21
2.5498000000000003e+21
7.202e+21
7.202000000000001e+21
6.8004e+21
6.800400000000001e+21
6.8548e+21
6.854800000000001e+21
5.807919999999999e+21
5.80792e+21
1.82216e+22
1.8221600000000001e+22
1.7899999999999999e+22
1.79e+22
1.6987999999999999e+22
1.6988e+22
1.7810399999999999e+22
1.78104e+22
2.7799999999999998e+22
2.78e+22
2.3639999999999998e+22
2.364e+22
3.6919999999999998e+22
3.692e+22
2.0424e+22
2.0424000000000002e+22
6.9999999999999996e+22
7e+22
5e+22
5.0000000000000004e+22
5.8479999999999996e+22
5.848e+22
5.1439999999999996e+22
5.144e+22
1.096e+23
1.0960000000000001e+23
1e+23
1.0000000000000001e+23
1.128e+23
1.1280000000000001e+23
1.3999999999999999e+23
1.4e+23
2e+23
2.0000000000000002e+23
2.7999999999999998e+23
2.8e+23
1.8399999999999998e+23
1.84e+23
2.768e+23
2.7680000000000002e+23