pub enum BinaryOp {
Show 18 variants
Add,
Subtract,
Multiply,
Divide,
Modulo,
BitwiseAnd,
BitwiseOr,
BitwiseXor,
ShiftLeft,
ShiftRight,
Eq,
NotEq,
Lt,
LtEq,
Gt,
GtEq,
And,
Or,
}Expand description
Binary operator in native expression IR.
Variants§
Add
Arithmetic addition. Temporal handling is context/type-dependent.
Subtract
Arithmetic subtraction. Temporal handling is context/type-dependent.
Multiply
Arithmetic multiplication under the operands’ admitted dtype contract.
Divide
Arithmetic division under the operands’ admitted dtype contract.
Modulo
Arithmetic remainder.
BitwiseAnd
Integer bitwise AND.
BitwiseOr
Integer bitwise OR.
BitwiseXor
Integer bitwise exclusive OR.
ShiftLeft
Integer shift left by the right operand.
ShiftRight
Integer shift right by the right operand.
Eq
SQL equality; a null operand produces null.
NotEq
SQL inequality; a null operand produces null.
Lt
Strict less-than comparison.
LtEq
Less-than-or-equal comparison.
Gt
Strict greater-than comparison.
GtEq
Greater-than-or-equal comparison.
And
SQL three-valued boolean conjunction.
Or
SQL three-valued boolean disjunction.