f64.convert_i32_u
Pops an i32 value off the stack, converts it into a f64 value, and then pushes it back on to the stack. This looks at the value as an unsigned integer (positive value only).

Syntax

f64.convert_i32_u

Stack In

i32 The value to be converted.

Stack Out

f64 The f64 version of the i32 value.

Examples

;; Convert i32 42 into a f64 value
i32.const 42
f64.convert_i32_u

;; The stack contains a f64 value of 42.0
;; Convert i32 0xFFFFFF6C (4294967148) into a f64 value
i32.const 0xFFFFFF6C
f64.convert_i32_u

;; The stack contains a f64 value of 4294967148.0