|
inlineconstexpr |
Parameters
x, y: arguments.c: Conditional expression masking the operation.m: Logical value masking the operation.tol: scalar value tolerance.Return value
x and y. The infix notation x == y can also be used.is_equal[numeric](x,y) considers that Nan values are equal.is_equal[almost = tol](x, y) where x and y must be floating point values, evaluates to true if and only if x is almost equal to y. This means that:tol is a floating value then \(|x - y| \le \mbox{tol}\cdot \max(|x|, |y|)\)tol is a positive integral value then there are not more than tol values of the type of x representable in the interval \([x, y[\).tol is omitted then the tolerance tol default to 3*eps(as(x)).== is supported, the == operator on standard scalar types is the original one and so returns bool result, not eve::logical.