i64.trunc_f32_s
i64.trunc_f32_s conversion/reinterpretation instruction.
core0xAE
Syntax
i64.trunc_f32_s
Stack Effect
[f32] -> [i64]Opcode
- Hex
0xAE- Decimal
174- Bytes
[0xae]- Encoding
0xAE- 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
;; i64.trunc_f32_s example
)