[−][src]Trait sss_rs::utils::NaturalMod
Trait for calculating modulo with negative numbers. Rem/Modulo operations move out the negative number, but that is not always the needed output.
Associated Types
Loading content...Required methods
fn natural_mod(self, rhs: T) -> Self::Output_
Computes the natural modulo of two given numbers.