Functions for building comparison conditions.
More...
Functions for building comparison conditions.
These functions construct relational comparison expressions that evaluate to boolean conditions. Used extensively in loop bounds and conditional statements.
◆ Eq()
Equality comparison.
- Parameters
-
| lhs | Left-hand side expression |
| rhs | Right-hand side expression |
- Returns
- Condition representing (lhs == rhs)
◆ Ge()
Greater-than-or-equal comparison.
- Parameters
-
| lhs | Left-hand side expression |
| rhs | Right-hand side expression |
- Returns
- Condition representing (lhs >= rhs)
◆ Gt()
Greater-than comparison.
- Parameters
-
| lhs | Left-hand side expression |
| rhs | Right-hand side expression |
- Returns
- Condition representing (lhs > rhs)
◆ Le()
Less-than-or-equal comparison.
- Parameters
-
| lhs | Left-hand side expression |
| rhs | Right-hand side expression |
- Returns
- Condition representing (lhs <= rhs)
◆ Lt()
Less-than comparison.
- Parameters
-
| lhs | Left-hand side expression |
| rhs | Right-hand side expression |
- Returns
- Condition representing (lhs < rhs)
◆ Ne()
Inequality comparison.
- Parameters
-
| lhs | Left-hand side expression |
| rhs | Right-hand side expression |
- Returns
- Condition representing (lhs != rhs)