[−][src]Type Definition algonium::math::Mint998
type Mint998 = Mint<Mod998>;
Wrapper class to compute mod 998_244_353
automatically.
Examples
use algonium::math::{Mint998, MOD_998}; let x: Mint998 = 1234567.into(); let y: Mint998 = 2345678.into(); let z = x * y; assert_eq!(z.val as u64, 1234567u64 * 2345678u64 % MOD_998 as u64);