Capy-Bearer Documentation

f64_from_bits

lib call

Capy

function f64_from_bits(value : u64) f64

Description

f64_from_bits() reinterprets the bits of an integer as an f64 value. It does not convert the numeric value.

The compiler emits a direct lib call.

Parameters

value : the u64 bit pattern

Return Values

An f64 value with the bit pattern of value.

Example

Capy

var value := f64_from_bits(u64(0x3ff0000000000000))
print(value, "\n")