MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / fp_fle_d

Function fp_fle_d

crates/virtual-machine/src/cpu/alu.rs:715–721  ·  view source on GitHub ↗
(a: f64, b: f64)

Source from the content-addressed store, hash-verified

713 (0, NV)
714 } else {
715 ((a <= b) as u64, 0)
716 }
717}
718
719// --- fclass, classify a floating-point value into one of 10 categories ---
720// Bit index meanings:
721// 0 = -inf 1 = -normal 2 = -subnormal 3 = -0
722// 4 = +0 5 = +subnormal 6 = +normal 7 = +inf
723// 8 = sNaN (Rust cannot distinguish sNaN from qNaN, so we always use 9)
724// 9 = qNaN

Callers 1

exec_fp_opFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected