

Private Member Functions | |
| Constant_plus (const Constant &i, const Constant &j) | |
| double | evaluate () const |
Friends | |
| Constant | operator+ (const Constant &a, const Constant &b) |
| Returns the sum of two constants.This is used in the formation of an expression. | |
| Constant | operator+ (MP_index &a, MP_index &b) |
| returns a Constant as a result of addition of two MP_index values. | |
Definition at line 130 of file MP_constant.cpp.
Definition at line 134 of file MP_constant.cpp.
| double flopc::Constant_plus::evaluate | ( | ) | const [inline, private, virtual] |
Implements flopc::Constant_base.
Definition at line 135 of file MP_constant.cpp.
References flopc::Constant_exp::left, and flopc::Constant_exp::right.
Returns the sum of two constants.This is used in the formation of an expression.
| a | first constant | |
| b | second constant |
1.6.1