Example #1
0
 def __iadd__(self, other):
     self.x = big.modadd(self.x, other.x, Fp.p)
     return self
Example #2
0
 def __iadd__(self, other):
     self.x = big.modadd(self.x, other.x, Fp.p)
     return self
Example #3
0
 def __add__(self, other):
     return Fp(big.modadd(self.x, other.x, Fp.p))
Example #4
0
 def __add__(self, other):
     return Fp(big.modadd(self.x, other.x, Fp.p))