Lines Matching refs:opa
3363 def _fill_logical(self, context, opa, opb): argument
3364 dif = context.prec - len(opa)
3366 opa = '0'*dif + opa
3368 opa = opa[-context.prec:]
3374 return opa, opb
3387 (opa, opb) = self._fill_logical(context, self._int, other._int)
3390 result = "".join([str(int(a)&int(b)) for a,b in zip(opa,opb)])
3411 (opa, opb) = self._fill_logical(context, self._int, other._int)
3414 result = "".join([str(int(a)|int(b)) for a,b in zip(opa,opb)])
3428 (opa, opb) = self._fill_logical(context, self._int, other._int)
3431 result = "".join([str(int(a)^int(b)) for a,b in zip(opa,opb)])