regression/integer/2^31 2^32 2^63 2^64

About this case

No note for this case.

Source
Focused regression
Topics
integer
Input
6 values · 48 B · raw bytes
Output
85 B
Archive
000222_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 41dfffffffc00000 2147483647
2 41e0000000000000 2147483648
3 41efffffffe00000 4294967295
4 41f0000000000000 4294967296
5 43e0000000000000 9223372036854776000
6 43f0000000000000 18446744073709552000

Expected output

The output must match these bytes exactly.

2147483647
2147483648
4294967295
4294967296
9223372036854776000
18446744073709552000