API reference
python:irx:irx.builder.protocols.VisitorProtocol._unify_numeric_operands
method _unify_numeric_operands
_unify_numeric_operands(_lhs: ir.Value, _rhs: ir.Value, unsigned: bool = False) -> tuple[ir.Value, ir.Value]
Source: packages/irx/src/irx/builder/protocols.py:614
Unify numeric operands.
Parameters
-
_lhs โ Left operand.; Type: ir.Value
-
_rhs โ Right operand.; Type: ir.Value
-
unsigned โ Whether to use unsigned semantics.; Type: bool
Returns
Result of this operation: unify numeric operands.; Type: tuple[ir.Value, ir.Value]