MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / set_f32

Method set_f32

pulley/src/interp.rs:564–566  ·  view source on GitHub ↗
(&mut self, val: f32)

Source from the content-addressed store, hash-verified

562 }
563
564 pub fn set_f32(&mut self, val: f32) {
565 self.0.f32 = u32::from_ne_bytes(val.to_le_bytes());
566 }
567
568 pub fn set_f64(&mut self, val: f64) {
569 self.0.f64 = u64::from_ne_bytes(val.to_le_bytes());

Callers 15

new_f32Method · 0.80
fload32le_o32Method · 0.80
fload32be_o32Method · 0.80
fload32le_zMethod · 0.80
fload32le_g32Method · 0.80
fconst32Method · 0.80
fselect32Method · 0.80
f32_from_x32_sMethod · 0.80
f32_from_x32_uMethod · 0.80
f32_from_x64_sMethod · 0.80
f32_from_x64_uMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected