(self, other: Self)
| 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() { |
no test coverage detected