rfc8785/max neg number
About this case
RFC 8785 Appendix B: ffefffffffffffff serializes as -1.7976931348623157e+308 (Max neg number).
- Source
- RFC 8785 Appendix B
- Topics
- long output rfc8785
- Input
- 1 value · 8 B · raw bytes
- Output
- 25 B
- Archive
000005_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 | ffefffffffffffff |
-1.7976931348623157e+308 |
Expected output
The output must match these bytes exactly.
-1.7976931348623157e+308