referrerpolicy=no-referrer-when-downgrade

Macro sp_runtime::assert_eq_error_rate_float

source ·
macro_rules! assert_eq_error_rate_float {
    ($x:expr, $y:expr, $error:expr $(,)?) => { ... };
}
Expand description

Same as assert_eq_error_rate, but intended to be used with floating point number, or generally those who do not have over/underflow potentials.