Skip to main content

rat_residue

Function rat_residue 

Source
pub fn rat_residue(x: &Rat, y: &Rat) -> Rat
Expand description

x | y on rationals: y - x * <. y % x, as on the reals.