vector.signf¶
Lanewise floating-point sign, returning -1.0, 0.0, or 1.0 per lane.
Operation contract¶
| Property | Value |
|---|---|
| Semantic phase | — |
| Traits | Pure, Elementwise |
Signature¶
| Kind | Name | Type | Cardinality | Description |
|---|---|---|---|---|
| Operand | input |
vector |
required | — |
| Result | result |
vector |
required | — |
Verification constraints¶
HasFloatElement(result)SameType(input, result)
Examples¶
Note
A canonical source example has not been added for this operation yet.