f64
values off the stack, divides the first by the second, and then
pushes the result back on to the stack. Make sure you push the values onto the stack in the
right order otherwise the result will be wrong.
f64.div
f64 | The first value to be divided. |
f64 | The second value to divide by. |
f64 | The result of dividing the first value by the second one. |
;; Push the f64 values onto the stack f64.const 12.34 f64.const 3.142 ;; Divide 12.34 by 3.142 f64.div ;; The stack contains an f64 value of 3.927