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