f32.div
Pops two f32 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.
$result = $first / $second

Syntax

f32.div

Stack In

f32 The first value to be divided.
f32 The second value to divide by.

Stack Out

f32 The result of dividing the first value by the second one.

Example

;; Push the f32 values onto the stack
f32.const 12.34
f32.const 3.142
  
;; Divide 12.34 by 3.142
f32.div

;; The stack contains an f32 value of 3.927