//! Named constants for commonly used [`U384`] values.
use super::U384;

impl U384 {
    /// The additive identity (`0`).
    pub const ZERO: U384 = U384([0, 0, 0, 0, 0, 0]);

    /// The multiplicative identity (`1`).
    pub const ONE: U384 = U384([1, 0, 0, 0, 0, 0]);

    /// The maximum representable value (`2^384 - 1`), with all bits set.
    pub const MAX: U384 = U384([u64::MAX, u64::MAX, u64::MAX, u64::MAX, u64::MAX, u64::MAX]);
}
