|
inlineconstexpr |
Returns a logical true if and only if the element value of the first parameter is not greater than the second one.
Defined in Header
Parameters
x, y : argument.Return value
The call eve::is_not_greater(x,y) is semantically equivalent to !(x > y):
Masked Call
The call eve;is_not_greater[mask](x,y) provides a masked version of eve::is_not_greater which is equivalent to if_else (mask, is_not_greater(x), eve::false(
eve::as(x,y))).
Example
almost
The expression almost(is_not_greater)(x, y, t) where x and y must be floating point values, evals to true if and only if and only if x is not almost greater than y. This means that:
t is a floating_value then \((x < y + t \max(|x|, |y|))\)t is a positive integral_value then \((x < \mbox{next}(y, t)\);t is omitted then the tolerance t default to 3*eps(as(x)).Example