Trait nekolib::math::Modulus

source ·
pub trait Modulus: 'static + Copy + Eq {
    const VALUE: u32;
}

Required Associated Constants§

Implementors§

source§

impl Modulus for Mod998244353

source§

const VALUE: u32 = 998_244_353u32

source§

impl Modulus for Mod1000000007

source§

const VALUE: u32 = 1_000_000_007u32