IntGT
IntGT
Description
Test whether lhs is strictly greater than rhs.
Parameters
| Name | Direction | Description |
|---|---|---|
lhs |
in | Left-hand integer |
rhs |
in | Right-hand operand selected through generic dispatch |
Usage example (from documentation)
bool larger = IntGT(&value, 0u);Returns
true when lhs > rhs.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Int.Compare.c:37:
bool result = IntLT(&a, &b);
result = result && IntLE(&a, &b);
result = result && IntGT(&b, &a);
result = result && IntGE(&b, &a);
result = result && IntEQ(&b, &c);- In
Int.Compare.c:67:
result = result && IntEQ(&value, 42);
result = result && IntLE(&value, 42);
result = result && IntGT(&value, -1);
result = result && IntLT(&value, 100ULL);
result = result && IntNE(&value, 43);
Last updated on