pub trait AddMod<Rhs = Self> { type Output; fn add_mod(&self, rhs: &Rhs, p: &Self) -> Self::Output; }
Compute self + rhs mod p.
self + rhs mod p
Output type.
Assumes self and rhs are < p.
self
rhs
< p