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

Method wasm_ceil

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

Source from the content-addressed store, hash-verified

112 }
113 #[inline]
114 fn wasm_ceil(self) -> f32 {
115 if self.is_nan() {
116 return f32::NAN;
117 }
118 #[cfg(feature = "std")]
119 if !cfg!(target_arch = "riscv64") {
120 return self.ceil();
121 }
122 libm::ceilf(self)
123 }
124 #[inline]
125 fn wasm_sqrt(self) -> f32 {
126 #[cfg(feature = "std")]

Callers 6

fceil32Method · 0.80
vceil32x4Method · 0.80
vceil64x2Method · 0.80
fceil64Method · 0.80
ceil_f32Function · 0.80
ceil_f64Function · 0.80

Calls 4

ceilfFunction · 0.85
ceilFunction · 0.85
is_nanMethod · 0.80
ceilMethod · 0.80

Tested by

no test coverage detected