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

Method sub

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

Source from the content-addressed store, hash-verified

546 }
547
548 fn sub(self, other: Self) -> ValueResult<Self> {
549 if self.is_float() {
550 binary_match!(-(self, other); [F32, F64])
551 } else {
552 binary_match!(wrapping_sub(&self, &other); [I8, I16, I32, I64, I128])
553 }
554 }
555
556 fn mul(self, other: Self) -> ValueResult<Self> {
557 if self.is_float() {

Callers 1

extend_symbolicMethod · 0.45

Calls 1

is_floatMethod · 0.45

Tested by

no test coverage detected