(self, other)
| 72 | raise ValueError |
| 73 | |
| 74 | def __floordiv__(self, other): |
| 75 | if not isinstance(other, Dual): |
| 76 | new_duals = [] |
| 77 | for i in self.duals: |
| 78 | new_duals.append(i // other) |
| 79 | return Dual(self.real // other, new_duals) |
| 80 | raise ValueError |
| 81 | |
| 82 | def __pow__(self, n): |
| 83 | if n < 0 or isinstance(n, float): |