mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-26 04:07:57 +00:00
c52a8d0f20
Signed-off-by: xermicus <cyrill@parity.io>
16 lines
295 B
Rust
16 lines
295 B
Rust
//!
|
|
//! The number base constants.
|
|
//!
|
|
|
|
/// The binary number base.
|
|
pub const BASE_BINARY: u32 = 2;
|
|
|
|
/// The octal number base.
|
|
pub const BASE_OCTAL: u32 = 8;
|
|
|
|
/// The decimal number base.
|
|
pub const BASE_DECIMAL: u32 = 10;
|
|
|
|
/// The hexadecimal number base.
|
|
pub const BASE_HEXADECIMAL: u32 = 16;
|