scalar.cmpi¶
Integer comparison.
Operation contract¶
| Property | Value |
|---|---|
| Semantic phase | executable |
| Traits | Pure, SafeToSpeculate |
Signature¶
| Kind | Name | Type | Cardinality | Description |
|---|---|---|---|---|
| Operand | lhs |
integer |
required | — |
| Operand | rhs |
integer |
required | — |
| Result | result |
i1 |
required | — |
| Attribute | predicate |
enum CmpIPredicate |
required | — |
Verification constraints¶
SameType(lhs, rhs)