IntGE
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);Returns
true when lhs >= rhs.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Int.c:955:
IntShiftLeft(&shifted, bit);
if (IntGE(&r, &shifted)) {
Int next = IntInit();- In
Int.c:1407:
IntMod(&br, b, modulus);
if (IntGE(&ar, &br)) {
(void)IntSub(result, &ar, &br);
} else {- In
Int.Compare.c:38:
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:40:
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