Lines Matching refs:self
42 def arguments(self) -> List[str]: argument
43 return [bignum_common.quote_str(n) for n in [self.arg_a,
44 self.arg_b,
45 self.arg_n]
46 ] + self.result()
48 def result(self) -> List[str]: argument
49 result = (self.int_a - self.int_b) % self.int_n
50 return [self.format_result(result)]
73 def result(self) -> List[str]: argument
74 result = (self.int_a + self.int_b) % self.int_n
75 return [self.format_result(result)]
94 def result(self) -> List[str]: argument
95 result = self.to_montgomery(self.int_a)
96 return [self.format_result(result)]
107 def result(self) -> List[str]: argument
108 result = self.from_montgomery(self.int_a)
109 return [self.format_result(result)]