(self, other, mod=None)
| 3512 | return I(int(self) + int(other)) |
| 3513 | __radd__ = __add__ |
| 3514 | def __pow__(self, other, mod=None): |
| 3515 | if mod is None: |
| 3516 | return I(pow(int(self), int(other))) |
| 3517 | else: |
| 3518 | return I(pow(int(self), int(other), int(mod))) |
| 3519 | def __rpow__(self, other, mod=None): |
| 3520 | if mod is None: |
| 3521 | return I(pow(int(other), int(self), mod)) |