1use libm::fabs;
2
3pub(crate) fn f64_eq(left: f64, right: f64) -> bool {
4 left == right || fabs(left - right) <= f64::EPSILON
5}
6