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);Success
Returns true when lhs < rhs.
Failure
Returns false otherwise.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Int.Compare.c:45:
Int c = IntFromBinary("000101010", &alloc.base);
bool result = IntLT(&a, &b);
result = result && IntLE(&a, &b);
result = result && IntGT(&b, &a);- In
Int.Compare.c:81:
result = result && IntLE(&value, 42);
result = result && IntGT(&value, -1);
result = result && IntLT(&value, 100ULL);
result = result && IntNE(&value, 43);
Last updated on