Skip to main content

compare

Function compare 

Source
pub fn compare<T>(op: CompareOp, x: T, y: T) -> bool
where T: Element,
Expand description

Compares two values (floats follow IEEE 754: comparisons with NaN are false, except Ne).