f64.reinterpret_i64
Pops an i64
value off the stack, which must be the binary form of a f64 floating point number,
copy the bits into a f64
value, and pushes it onto the stack.
The binary structure of a f64
value is copied as it is, not its value, from an i64
value.
This is like copying the floating point value into memory and then reading it with an integer.
The binary bits are the same, however the numeric value is totally different.
Syntax
f64.reinterpret_i64
Stack In
i64 |
The value to be transferred. |
Stack Out
f64 |
The f64 value of the binary copy of the i64 data. |
Example
f64.const 1234.567
i64.reinterpret_f64
f64.reinterpret_i64