|
inlineconstexpr |
Returns a logical true if and only if the element value of the first parameter is greater or equal to the second one.
Defined in Header
Parameters
x, y : argument.Return value
The call eve::is_greater_equal(x,y) is semantically equivalent to x >= y:
Masked Call
The call eve;is_greater_equal[mask](x,y) provides a masked version of eve::is_greater_equal which is equivalent to if_else (mask, is_greater_equal(x), eve::false( eve::as(x,y))).
Example
almost
The expression definitely(is_greater_equal)(x, y, t) where x and y must be floating point values, evals to true if and only if x is 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{prev}(y, t)\);t is omitted then the tolerance t default to 3*eps(as(x)).Example