regression/boundary/2^54 + 8

About this case

18014398509481990 is exactly halfway down to 2^54 + 4 and rounds to this double, whose significand is even.

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

Expected output

The output must match these bytes exactly.

18014398509481990