Function flanker_assert_float::check_relative
source · [−]Expand description
Checks whether 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.
Errors
If the quotient (gamma) exceeds delta.