rfc8785/min neg number

About this case

RFC 8785 Appendix B: 8000000000000001 serializes as -5e-324 (Min neg number).

Topics
rfc8785
Input
1 value · 8 B · raw bytes
Output
8 B
Archive
000003_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 8000000000000001 -5e-324

Expected output

The output must match these bytes exactly.

-5e-324