IntGE
Description
Test whether lhs is greater than or equal to rhs.
Parameters
| Name | Direction | Description |
|---|---|---|
lhs |
in | Left-hand integer |
rhs |
in | Right-hand operand selected through generic dispatch |
Usage example (from documentation)
bool at_least = IntGE(&value, threshold);Success
Returns true when lhs >= rhs.
Failure
Returns false otherwise.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Int.c:1392:
}
if (IntGE(&r, &shifted)) {
Int next = IntInit(IntAllocator(quotient));- In
Int.c:2068:
}
if (IntGE(&ar, &br)) {
if (!int_sub(result, &ar, &br)) {
IntDeinit(&ar);- In
Int.Compare.c:48:
result = result && IntLE(&a, &b);
result = result && IntGT(&b, &a);
result = result && IntGE(&b, &a);
result = result && IntEQ(&b, &c);
result = result && IntGE(&b, &c);- In
Int.Compare.c:50:
result = result && IntGE(&b, &a);
result = result && IntEQ(&b, &c);
result = result && IntGE(&b, &c);
result = result && IntLE(&b, &c);
result = result && IntNE(&a, &b);
Last updated on