uint
uint copied to clipboard
`modular`: Modular wrapper class, like Wrapping.
On 2022-06-03 @recmo wrote in 2f6a5d6
“Merge pull request #103 from recmo/mulmod”:
Modular wrapper class, like Wrapping.
use crate::{algorithms, nlimbs, Uint};
// FEATURE: sub_mod, neg_mod, inv_mod, div_mod, root_mod
// FEATURE: mul_mod_redc
// FEATURE: Modular wrapper class, like Wrapping.
impl<const BITS: usize, const LIMBS: usize> Uint<BITS, LIMBS> {
#[allow(clippy::doc_markdown)] // False positive
/// ⚠️ Compute $\mod{\mathtt{self}}_{\mathtt{modulus}}$.
///
From src/modular.rs:5