Exemple #1
0
        public double Equals()
        {
            if (pending_operation == null)
            {
                return(Lhs.Value);
            }
            double lhs = Lhs.Value;
            double rhs = Rhs.IsSet() ? Rhs.Value : Lhs.Value;

            Lhs.Value   = pending_operation.PerformBinaryCalculation(lhs, rhs);
            equals_flag = true;
            return(Lhs.Value);
        }