示例#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);