Private Member Functions | |
Constant_mult (const Constant &i, const Constant &j) | |
double | evaluate () const |
Friends | |
Constant | operator * (const Constant &a, const Constant &b) |
Returns the product of two constants. |
Definition at line 163 of file MP_constant.cpp.
Definition at line 166 of file MP_constant.cpp.
double flopc::Constant_mult::evaluate | ( | ) | const [inline, private, virtual] |
Implements flopc::Constant_base.
Definition at line 167 of file MP_constant.cpp.
References flopc::Constant_exp::left, and flopc::Constant_exp::right.
Returns the product of two constants.
This is used in the formation of an expression.
a | first constant | |
b | second constant |
Definition at line 172 of file MP_constant.cpp.