i64.trunc_sat_f32_u
i64.trunc_sat_f32_u conversion/reinterpretation instruction.
core0xFC 0x05
Syntax
i64.trunc_sat_f32_u
Stack Effect
[f32] -> [i64]Opcode
- Hex
0xFC 0x05- Decimal
252 5- Bytes
[0xfc, 0x05]- Prefix
0xFCbulk-memory / saturating conversions / table extension space- Encoding
0xFC 0x05- Category
- numeric
- Proposal
- non-trapping-fp-to-int
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_sat_f32_u example
)