Skip to main content

revive_common/
base.rs

1//! The number base constants.
2
3/// The binary number base.
4pub const BASE_BINARY: u32 = 2;
5
6/// The octal number base.
7pub const BASE_OCTAL: u32 = 8;
8
9/// The decimal number base.
10pub const BASE_DECIMAL: u32 = 10;
11
12/// The hexadecimal number base.
13pub const BASE_HEXADECIMAL: u32 = 16;