regression/threshold/around 1e-7

About this case

1e-7 and the two doubles either side of it.

Source
Focused regression
Input
5 values · 40 B · raw bytes
Output
91 B
Archive
000178_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 3e7ad7f29abcaf46 9.999999999999997e-8
2 3e7ad7f29abcaf47 9.999999999999998e-8
3 3e7ad7f29abcaf48 1e-7
4 3e7ad7f29abcaf49 1.0000000000000001e-7
5 3e7ad7f29abcaf4a 1.0000000000000002e-7

Expected output

The output must match these bytes exactly.

9.999999999999997e-8
9.999999999999998e-8
1e-7
1.0000000000000001e-7
1.0000000000000002e-7