DataStore Double_Multiply_Double_Operator_Calculation::doInternalCalculation(const DataStore &left, const DataStore &right) const { double ans = left.doubleValue () * right.doubleValue(); return DataStore(SupportedType::stDouble, ans); }
DataStore Integer_Plus_Double_Operator_Calculation::doInternalCalculation(const DataStore &left, const DataStore &right) const { double ans = left.intValue () + right.doubleValue(); return DataStore(SupportedType::stDouble, ans); }