Пример #1
0
 public BinaryOperation(BinaryOperationType type, Variable first, Variable second, Variable result)
 {
     Type   = type;
     First  = first;
     Second = second;
     Result = result;
 }
Пример #2
0
 public static BinaryOperation Divide(Variable argA, Variable argB, Variable result)
 => new BinaryOperation(BinaryOperationType.Div, argA, argB, result);
Пример #3
0
 public static BinaryOperation Modulo(Variable argA, Variable argB, Variable result)
 => new BinaryOperation(BinaryOperationType.Mod, argA, argB, result);
Пример #4
0
 public static BinaryOperation Multiply(Variable argA, Variable argB, Variable result)
 => new BinaryOperation(BinaryOperationType.Mul, argA, argB, result);
Пример #5
0
 public static BinaryOperation Xor(Variable argA, Variable argB, Variable result)
 => new BinaryOperation(BinaryOperationType.Xor, argA, argB, result);
Пример #6
0
 public static BinaryOperation And(Variable argA, Variable argB, Variable result)
 => new BinaryOperation(BinaryOperationType.And, argA, argB, result);
Пример #7
0
 public static BinaryOperation ShiftRight(Variable argA, Variable argB, Variable result)
 => new BinaryOperation(BinaryOperationType.ShiftRight, argA, argB, result);
Пример #8
0
 public static BinaryOperation Subtract(Variable argA, Variable argB, Variable result)
 => new BinaryOperation(BinaryOperationType.Subtract, argA, argB, result);