regression/boundary/2^54 + 4

About this case

18014398509481990 is exactly halfway up to 2^54 + 8 but rounds to that double, not this odd one, so it is not a candidate here.

Source
Focused regression
Topics
boundary
Input
1 value · 8 B · raw bytes
Output
18 B
Archive
000312_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 4350000000000001 18014398509481988

Expected output

The output must match these bytes exactly.

18014398509481988