Macro approx::relative_eq
source · macro_rules! relative_eq {
($lhs:expr, $rhs:expr $(, $opt:ident = $val:expr)*) => { ... };
($lhs:expr, $rhs:expr $(, $opt:ident = $val:expr)*,) => { ... };
}
Expand description
Approximate equality using both the absolute difference and relative based comparisons.