EqMod, a trait for determining whether one number is equal by another modulo a third.
EqMod
use malachite_base::num::arithmetic::traits::EqMod; assert_eq!(123u16.eq_mod(223, 100), true); assert_eq!((-123i32).eq_mod(277, 100), true); assert_eq!((-123i64).eq_mod(278, 100), false);