(self, other)
| 576 | return res[1] |
| 577 | |
| 578 | def __divmod__(self, other): |
| 579 | othercoef = self._get_coefficients(other) |
| 580 | try: |
| 581 | quo, rem = self._div(self.coef, othercoef) |
| 582 | except ZeroDivisionError: |
| 583 | raise |
| 584 | except Exception: |
| 585 | return NotImplemented |
| 586 | quo = self.__class__(quo, self.domain, self.window, self.symbol) |
| 587 | rem = self.__class__(rem, self.domain, self.window, self.symbol) |
| 588 | return quo, rem |
| 589 | |
| 590 | def __pow__(self, other): |
| 591 | coef = self._pow(self.coef, other, maxpower=self.maxpower) |
no test coverage detected