Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LPC4/Full-Stack
/ box_f32
Function
box_f32
crates/virtual-machine/src/cpu/alu.rs:44–46 ·
view source on GitHub ↗
(v: f32)
Source
from the content-addressed store, hash-verified
42
43
#[inline]
44
fn box_f32(v: f32) -> u64 {
45
0xFFFF_FFFF_0000_0000u64 | (v.to_bits() as u64)
46
}
47
48
#[inline]
49
fn box_f64(v: f64) -> u64 {
Callers
15
fp_add_s
Function · 0.85
fp_sub_s
Function · 0.85
fp_mul_s
Function · 0.85
fp_div_s
Function · 0.85
fp_sqrt_s
Function · 0.85
fp_cvt_d_to_s
Function · 0.85
fp_sgnj_s
Function · 0.85
fp_sgnjn_s
Function · 0.85
fp_sgnjx_s
Function · 0.85
fp_min_s
Function · 0.85
fp_max_s
Function · 0.85
fp_fmadd_s
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected