Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LPC4/Full-Stack
/ fp_flt_d
Function
fp_flt_d
crates/virtual-machine/src/cpu/alu.rs:707–713 ·
view source on GitHub ↗
(a: f64, b: f64)
Source
from the content-addressed store, hash-verified
705
(0, NV)
706
} else {
707
((a < b) as u64, 0)
708
}
709
}
710
711
pub fn fp_fle_d(a: f64, b: f64) -> (u64, u8) {
712
if a.is_nan() || b.is_nan() {
713
(0, NV)
714
} else {
715
((a <= b) as u64, 0)
716
}
Callers
1
exec_fp_op
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected