private int Subtract(IExecutionContext context) { NumericOperand firstOperand = NumericOperand.Create(context.GetResult(FirstOperandName)); NumericOperand secondOperand = NumericOperand.Create(context.GetResult(SecondOperandName)); return(firstOperand - secondOperand); }
public override int Subtract(NumericOperand operand2) { return Math.Sign(Value - ((LongCompareOperand)operand2).Value); }
public abstract int Subtract(NumericOperand operand2);
public override int Subtract(NumericOperand operand2) { return(Math.Sign(Value - ((DecimalCompareOperand)operand2).Value)); }
public override int Subtract(NumericOperand operand2) { return(Math.Sign((double)(Value - ((ULongCompareOperand)operand2).Value))); }