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

Method read_f64

crates/virtual-machine/src/cpu/registers.rs:75–77  ·  view source on GitHub ↗
(&self, reg: usize)

Source from the content-addressed store, hash-verified

73 pub fn read_f64(&self, reg: usize) -> f64 {
74 f64::from_bits(self.f[reg])
75 }
76
77 pub fn write_f64(&mut self, reg: usize, val: f64) {
78 self.f[reg] = val.to_bits();
79 }
80}

Callers 3

exec_fp_opFunction · 0.80
exec_fmacFunction · 0.80
fp_f64_roundtripFunction · 0.80

Calls

no outgoing calls

Tested by 1

fp_f64_roundtripFunction · 0.64