Function calc_delta_full

Source
fn calc_delta_full<T>(
    abs_diff: U256,
    right: U256,
) -> Result<U256, EqRelAssertionError<T>>
Expand description

Calculates the relative delta for an absolute difference.

Avoids overflow in the multiplication by using [U512] to hold the intermediary result.