f32.floor
f32 unary floor operation.
core0x8E
Syntax
f32.floor
Stack Effect
[f32] -> [f32]Opcode
- Hex
0x8E- Decimal
142- Bytes
[0x8e]- Encoding
0x8E- 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.floor example
)