Skip to content

vector.truncf

← vector dialect

Lanewise round toward zero.

Operation contract

Property Value
Semantic phase —
Traits Pure, Elementwise, Idempotent

Signature

Kind Name Type Cardinality Description
Operand input vector required —
Result result vector required —
Attribute fastmath flags FastMathFlags optional —

Verification constraints

  • HasFloatElement(result)
  • SameType(input, result)

Examples

Note

A canonical source example has not been added for this operation yet.