//! Named constants for commonly used [`U320`] values.
use super::U320;
impl U320 {
/// The additive identity (`0`).
pub const ZERO: U320 = U320([0, 0, 0, 0, 0]);
/// The multiplicative identity (`1`).
pub const ONE: U320 = U320([1, 0, 0, 0, 0]);
/// The maximum representable value (`2^320 - 1`), with all bits set.
pub const MAX: U320 = U320([u64::MAX, u64::MAX, u64::MAX, u64::MAX, u64::MAX]);
}