Skip to main content

magnitude

Function magnitude 

Source
pub fn magnitude(v: Rational64) -> Rational64
Expand description

Absolute value for ordering; any i64::MIN numerator has no positive counterpart and sorts as the largest.