f64.floor

Pops a

`f64`

value off the stack, works out the floor value, and then
pushes the result back on to the stack. This rounds down the value to the previous whole number
and removes any decimal parts. For example, 1.23 is rounded down to 1.0. For negative numbers
it seems like it is rounded up, but it is just taking the negative value into account, so that
-1.23 does not change to -1.00, but is changed to -2.0.
```
f64.floor
```

f64 | The value to get the floor value for. |

f64 | The floor value of the value given. |

;; Push the f64 value 3.142 onto the stack f64.const 3.142 ;; Pop the f64 value off the stack, workout the floor value and ;; push the result back onto the stack f64.floor ;; The stack contains an f64 value of 3.0

;; Push the f64 value 4.95 onto the stack f64.const 4.95 ;; Pop the f64 value off the stack, workout the floor value and ;; push the result back onto the stack f64.floor ;; The stack contains an f64 value of 4.0

;; Push the f64 value -12.34 onto the stack f64.const -12.34 ;; Pop the f64 value off the stack, workout the floor value and ;; push the result back onto the stack f64.floor ;; The stack contains an f64 value of -13.00