i32.trunc_f64_u
i32.trunc_f64_u conversion/reinterpretation instruction.
core0xAB
Syntax
i32.trunc_f64_u
Stack Effect
[f64] -> [i32]Opcode
- Hex
0xAB- Decimal
171- Bytes
[0xab]- Encoding
0xAB- 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
;; i32.trunc_f64_u example
)