ryu/Basic/all

About this case

Every finite value of Ryū's d2s test Basic, in order.

Input
4 values · 32 B · raw bytes
Output
9 B
Archive
000027_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 0000000000000000 0
2 0000000000000000 0
3 3ff0000000000000 1
4 bff0000000000000 -1

Expected output

The output must match these bytes exactly.

0
0
1
-1