f64.const
Push an f64 constant.
core0x44
Syntax
f64.const
Stack Effect
[] -> [f64]Opcode
- Hex
0x44- Decimal
68- Bytes
[0x44]- Encoding
0x44 <value:f64-le>- Immediates
value:f64-le— 8 little-endian IEEE-754 bytes
- 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
;; f64.const example
)