pub fn scalar_equal(left: &Scalar, right: &Scalar) -> boolExpand description
Compare canonical scalars without widening integers through an imprecise floating-point representation. Integer/float equality is accepted only when the float is finite, integral, in range, and round-trips exactly.