f64.const
Push a f64 value onto the stack.

Syntax

f64.const value

Parameters

value
An f64 literal value. Must be written as a decimal number.

Stack In

NONE

Stack Out

f64 The parameter value.

Example

;; Push the f64 value 3.142 onto the stack
f64.const 3.142

;; Push the f64 value 2.718 onto the stack
f64.const 2.718

;; Pop the two f64 values off the stack, add them together and
;; push the result back onto the stack
f64.add

;; The stack contains an f64 value of 5.86