f32.convert_i32_s
f32.convert_i32_s conversion/reinterpretation instruction.
core0xB2
Syntax
f32.convert_i32_s
Stack Effect
[i32] -> [f32]Opcode
- Hex
0xB2- Decimal
178- Bytes
[0xb2]- Encoding
0xB2- Category
- numeric
Browser Support
Core WebAssembly instruction.
Validation Rules
- Operands and result types must match the instruction signature.
- The instruction must appear in a valid structured control context.
Common Mistakes
- Using the instruction with the wrong operand type.
- Forgetting that WAT validation is stack-typed.
(func $example
;; f32.convert_i32_s example
)