scalar.trunci¶
Integer truncation to a strictly narrower type: e.g. i32 to i8.
Operation contract¶
| Property | Value |
|---|---|
| Semantic phase | executable |
| Traits | Pure, DistributionTransfer |
Signature¶
| Kind | Name | Type | Cardinality | Description |
|---|---|---|---|---|
| Operand | input |
integer |
required | — |
| Result | result |
integer |
required | — |
Verification constraints¶
ElementWidthLessThan(result, input)