Skip to main content

scalar_cmp

Function scalar_cmp 

Source
pub fn scalar_cmp(left: &Scalar, right: &Scalar) -> Option<Ordering>
Expand description

Compare canonical scalars without converting large integers to f64. Mixed integer/float comparisons preserve the exact ordering represented by the IEEE-754 value; non-numeric or mismatched domains return None.