f32_from_bits
lib callCapy
function f32_from_bits(value : u32) f32
Description
f32_from_bits() reinterprets the bits of an integer as an f32 value. It does not convert the numeric value.
The compiler emits a direct lib call.
Parameters
value : the u32 bit pattern
Return Values
An f32 value with the bit pattern of value.
Example
Capy
var value := f32_from_bits(u32(0x3f800000)) print(value, "\n")