File: constant_big.rs

package info (click to toggle)
rust-cbindgen 0.24.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,532 kB
  • sloc: ansic: 15; makefile: 11
file content (8 lines) | stat: -rw-r--r-- 332 bytes parent folder | download | duplicates (14)
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;