Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ truncf
Function
truncf
cranelift/filetests/src/function_runner.rs:728–730 ·
view source on GitHub ↗
(a: f32)
Source
from the content-addressed store, hash-verified
726
}
727
"truncf"
=> {
728
extern
"C"
fn truncf(a: f32) -> f32 {
729
a.trunc()
730
}
731
Some(truncf as *const u8)
732
}
733
"floor"
=> {
Callers
1
wasm_trunc
Method · 0.85
Calls
1
trunc
Method · 0.80
Tested by
no test coverage detected