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

Method wasm_sqrt

crates/core/src/math.rs:125–131  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

123 }
124 #[inline]
125 fn wasm_sqrt(self) -> f32 {
126 #[cfg(feature = "std")]
127 if true {
128 return self.sqrt();
129 }
130 libm::sqrtf(self)
131 }
132 #[inline]
133 fn wasm_abs(self) -> f32 {
134 #[cfg(feature = "std")]

Callers 4

fsqrt32Method · 0.80
vsqrt32x4Method · 0.80
vsqrt64x2Method · 0.80
fsqrt64Method · 0.80

Calls 1

sqrtMethod · 0.45

Tested by

no test coverage detected