f64
values off the stack, works out which one is the smallest, and then
pushes it back on to the stack.
f64.min
f64 | The first value to check. |
f64 | The second value to check. |
f64 | The smallest of the first or second values. |
;; 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, workout the smallest ;; and push it back onto the stack f64.min ;; The stack contains an f64 value of 2.718
;; 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, workout the smallest ;; and push it back onto the stack f64.min ;; The stack contains an f64 value of -3.142