scalar.ctpopi¶
Population count (number of set bits).
Operation contract¶
| Property | Value |
|---|---|
| Semantic phase | — |
| Traits | Pure, DistributionTransfer |
Signature¶
| Kind | Name | Type | Cardinality | Description |
|---|---|---|---|---|
| Operand | input |
integer |
required | — |
| Result | result |
integer |
required | — |
Verification constraints¶
SameType(input, result)