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

Function trunc

cranelift/filetests/src/function_runner.rs:722–724  ·  view source on GitHub ↗
(a: f64)

Source from the content-addressed store, hash-verified

720 }
721 "trunc" => {
722 extern "C" fn trunc(a: f64) -> f64 {
723 a.trunc()
724 }
725 Some(trunc as *const u8)
726 }
727 "truncf" => {

Callers 1

wasm_truncMethod · 0.85

Calls 1

truncMethod · 0.80

Tested by

no test coverage detected