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

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

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

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