(self, other: Self)
| 538 | } |
| 539 | |
| 540 | fn add(self, other: Self) -> ValueResult<Self> { |
| 541 | if self.is_float() { |
| 542 | binary_match!(+(self, other); [F32, F64]) |
| 543 | } else { |
| 544 | binary_match!(wrapping_add(&self, &other); [I8, I16, I32, I64, I128]) |
| 545 | } |
| 546 | } |
| 547 | |
| 548 | fn sub(self, other: Self) -> ValueResult<Self> { |
| 549 | if self.is_float() { |