Lines Matching refs:opa
3261 def _fill_logical(self, context, opa, opb): argument
3262 dif = context.prec - len(opa)
3264 opa = '0'*dif + opa
3266 opa = opa[-context.prec:]
3272 return opa, opb
3285 (opa, opb) = self._fill_logical(context, self._int, other._int)
3288 result = "".join([str(int(a)&int(b)) for a,b in zip(opa,opb)])
3309 (opa, opb) = self._fill_logical(context, self._int, other._int)
3312 result = "".join([str(int(a)|int(b)) for a,b in zip(opa,opb)])
3326 (opa, opb) = self._fill_logical(context, self._int, other._int)
3329 result = "".join([str(int(a)^int(b)) for a,b in zip(opa,opb)])