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

Method new_f32

pulley/src/interp.rs:542–546  ·  view source on GitHub ↗
(f: f32)

Source from the content-addressed store, hash-verified

540#[expect(missing_docs, reason = "self-describing methods")]
541impl FRegVal {
542 pub fn new_f32(f: f32) -> Self {
543 let mut val = Self::default();
544 val.set_f32(f);
545 val
546 }
547
548 pub fn new_f64(f: f64) -> Self {
549 let mut val = Self::default();

Callers

nothing calls this directly

Calls 1

set_f32Method · 0.80

Tested by

no test coverage detected