FLOPC++
|
Private Member Functions | |
Constant_pos (const Constant &c) | |
double | evaluate () const |
Private Attributes | |
Constant | C |
Friends | |
Constant | pos (const Constant &c) |
for returning non-negative value of the constant.This is used in the formation of an expression. It is used to return a non-negative value.. |
Definition at line 52 of file MP_constant.cpp.
flopc::Constant_pos::Constant_pos | ( | const Constant & | c | ) | [inline, private] |
Definition at line 55 of file MP_constant.cpp.
double flopc::Constant_pos::evaluate | ( | ) | const [inline, private, virtual] |
for returning non-negative value of the constant.This is used in the formation of an expression. It is used to return a non-negative value..
c | an imput constant |
Definition at line 66 of file MP_constant.cpp.
Constant flopc::Constant_pos::C [private] |
Definition at line 64 of file MP_constant.cpp.
Referenced by evaluate().