IntLT
IntLT
Description
Test whether lhs is strictly less 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 smaller = IntLT(&value, other);Returns
true when lhs < rhs.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Int.Compare.c:35:
Int c = IntFromBinary("000101010");
bool result = IntLT(&a, &b);
result = result && IntLE(&a, &b);
result = result && IntGT(&b, &a);- In
Int.Compare.c:68:
result = result && IntLE(&value, 42);
result = result && IntGT(&value, -1);
result = result && IntLT(&value, 100ULL);
result = result && IntNE(&value, 43);
Last updated on