sp_arithmetic
macro_rules! assert_eq_error_rate { ($x:expr, $y:expr, $error:expr $(,)?) => { ... }; }
Copied from sp-runtime and documented there.
sp-runtime