|
inlineconstexpr |
Parameters
x
, y
: arguments.c
: Conditional expression masking the operation.m
: Logical value masking the operation.tol
: scalar value tolerance.Return value
eve::is_less_equal(x,y)
is semantically equivalent to x <= y
:is_less_equal[almost = tol](x, y)
where x
and y
must be floating point values, evaluates to true if and only if x
is almost less than y
. This means that:tol
is a floating value then \(x \le y + \mbox{tol}\cdot \max(|x|, |y|)\)tol
is a positive integral value then \(x \le \mbox{next}(y, \mbox{tol})\);tol
is omitted then the tolerance tol
default to 3*eps(as(x))
.