Skip to content

vector.extf

vector dialect

Lanewise floating-point precision extension. Source and result shapes match exactly; only the floating-point element type widens.

Operation contract

Property Value
Semantic phase executable
Traits Pure, Elementwise

Signature

Kind Name Type Cardinality Description
Operand input vector required
Result result vector required

Verification constraints

  • HasFloatElement(input)
  • HasFloatElement(result)
  • SameKind(input, result)
  • SameShape(input, result)
  • ElementWidthGreaterThan(result, input)

Examples

Note

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