|
inlineconstexpr |
Parameters
x, y: floating arguments.c: Conditional expression masking the operation.m: Logical value masking the operation.Return value
eve::abs(x-y)/max(abs(x), abs(y), 1).reldist[pedantic](x, y) computes a distance wich is NaN if and only if one of the parameters is NaN.