i64
value off the stack, converts it into a f32
value, and then
pushes it back on to the stack. This looks at the i64 value as a signed integer (can be negative).
f32.convert_i64_s
i64 | The value to be converted. |
f32 | The f32 version of the i64 value. |
;; Convert i64 42 into a f32 value i64.const 42 f32.convert_i64_s ;; The stack contains a f32 value of 42.0
;; Convert i64 0xFFFFFFFFFFFFFF6C (-148) into a f32 value i64.const 0xFFFFFFFFFFFFFF6C f32.convert_i64_s ;; The stack contains a f32 value of -148.0