regression/one tenth

About this case

0.1 isn't exact in binary, but its shortest digits are 1.

Source
Focused regression
Topics
fraction
Input
1 value · 8 B · raw bytes
Output
4 B
Archive
000153_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 3fb999999999999a 0.1

Expected output

The output must match these bytes exactly.

0.1