Function flanker_assert_float::assert_relative
source · [−]Expand description
Asserts that the quotient of the difference between the two floats over the largest (by magnitude)
of the two floats, taken as an absolute value, is within the supplied delta threshold.
Panics
If the quotient (gamma) exceeds delta.