Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ new_f64
Method
new_f64
pulley/src/interp.rs:548–552 ·
view source on GitHub ↗
(f: f64)
Source
from the content-addressed store, hash-verified
546
}
547
548
pub fn new_f64(f: f64) -> Self {
549
let mut val = Self::default();
550
val.set_f64(f);
551
val
552
}
553
554
pub fn get_f32(&self) -> f32 {
555
let val = unsafe { self.0.f32 };
Callers
nothing calls this directly
Calls
1
set_f64
Method · 0.80
Tested by
no test coverage detected