The expression is_equal[numeric](x,y) considers that Nan values are equal.
The expression 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:
if tol is a floating value then \(|x - y| \le \mbox{tol}\cdot \max(|x|, |y|)\)
if 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[\).
if tol is omitted then the tolerance tol default to 3*eps(as(x)).
Note
Although the infix notation with == is supported, the == operator on standard scalar types is the original one and so returns bool result, not eve::logical.