summaryrefslogtreecommitdiffstats
path: root/tests/rust/constant_big.rs
blob: 94eb834f4af0473b32b51991531b9085535cd193 (plain)
1
2
3
4
5
6
7
8
pub const UNSIGNED_NEEDS_ULL_SUFFIX: u64       = 0x8000_0000_0000_0000;
pub const UNSIGNED_DOESNT_NEED_ULL_SUFFIX: u64 = 0x7000_0000_0000_0000;

// i64::min_value()
pub const SIGNED_NEEDS_ULL_SUFFIX: i64         = -9223372036854775808;

// i64::min_value() + 1
pub const SIGNED_DOESNT_NEED_ULL_SUFFIX: i64   = -9223372036854775807;