gt
Name | Type | Description | Optional |
---|---|---|---|
a |
?0 |
first comparand |
no |
b |
?0 |
second comparand |
no |
Name | Type | Description | Optional |
---|---|---|---|
c |
bool |
true if a > b and false otherwise |
no |
gt
reads one comparand from each of its inputs and outputs the boolean result of comparing them for greater-than ordering.
-
For numbers, the comparison uses numerical value.
-
For strings, the comparison uses lexicographic ordering.
-
For bitsets, the second comparand must be a proper subset of the first comparand (b ⊂ a). It is an error if the comparands do not have the same capacity.
-
For all other types, the comparands are compared by address. The comparison result is guaranteed to remain the same for the lifetime of the particular comparands, but it is not guaranteed to be the same from run to run, and in general it will not be.