i64.trunc_f64_u
i64.trunc_f64_u conversion/reinterpretation instruction.
core0xB1
Syntax
i64.trunc_f64_u
Stack Effect
[f64] -> [i64]Opcode
- Hex
0xB1- Decimal
177- Bytes
[0xb1]- Encoding
0xB1- 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_f64_u example
)