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

Method mul

cranelift/interpreter/src/value.rs:556–562  ·  view source on GitHub ↗
(self, other: Self)

Source from the content-addressed store, hash-verified

554 }
555
556 fn mul(self, other: Self) -> ValueResult<Self> {
557 if self.is_float() {
558 binary_match!(*(self, other); [F32, F64])
559 } else {
560 binary_match!(wrapping_mul(&self, &other); [I8, I16, I32, I64, I128])
561 }
562 }
563
564 fn sdiv(self, other: Self) -> ValueResult<Self> {
565 if self.is_float() {

Callers

nothing calls this directly

Calls 1

is_floatMethod · 0.45

Tested by

no test coverage detected