MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime-go / ValF64

Function ValF64

val.go:33–35  ·  view source on GitHub ↗

ValF64 converts a go float64 to a f64 Val

(val float64)

Source from the content-addressed store, hash-verified

31
32// ValF64 converts a go float64 to a f64 Val
33func ValF64(val float64) Val {
34 return Val{kind: C.WASMTIME_F64, val: val}
35}
36
37// ValFuncref converts a Func to a funcref Val
38//

Callers 4

mkValFunction · 0.85
TestFuncArgsFunction · 0.85
TestWrongArgsPanicFunction · 0.85
goTrampolineWrapFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestFuncArgsFunction · 0.68
TestWrongArgsPanicFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…