Skip to content

scalar.extf

← scalar dialect

Float precision extension to a strictly wider format: e.g. f16 to f32.

Operation contract

Property Value
Semantic phase executable
Traits Pure

Signature

Kind Name Type Cardinality Description
Operand input float required —
Result result float required —

Verification constraints

  • ElementWidthGreaterThan(result, input)

Examples

%result = scalar.extf %input : f16 to f32