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