greater_equal function
True when the first value is at least the second: the function form of >=.
How to write it
greater_equal(a, b)
- a
- A value. Takes an expression.
- b
- A value. Takes an expression.
Examples
greater_equal(1, 2)In the solver,
Open in the solvergreater_equal(1, 2)givesfalse.
Related functions
- greater
True when the first value is greater than the second: the function form of >.
- equal
True when two values are equal: the function form of ==.
- less_equal
True when the first value is at most the second: the function form of <=.
- implies
True unless the first condition is true and the second false.
- is_even
Test whether a whole number is even.
- equivalent
True when two conditions are both true or both false.