bits_of
lib callCapy
function bits_of(value : f32) u32 function bits_of(value : f64) u64
Description
bits_of() reinterprets the bits of a floating-point value. It does not convert the numeric value.
The compiler emits a direct lib call.
Parameters
value : the floating-point value
Return Values
The bit pattern of value as an unsigned integer.
Example
Capy
var value := bits_of(f64(1.0)) print(value, "\n")