mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-10-22 03:36:19 +00:00
14 lines
287 B
Rust
14 lines
287 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;
|