f32.abs
f32 unary abs operation.
core0x8B
Syntax
f32.abs
Stack Effect
[f32] -> [f32]Opcode
- Hex
0x8B- Decimal
139- Bytes
[0x8b]- Encoding
0x8B- 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.abs example
)