Private Member Functions | |
Constant_abs (const Constant &c) | |
double | evaluate () const |
Private Attributes | |
Constant | C |
Friends | |
Constant | abs (const Constant &c) |
for computing the absolute value of a constant value.This is used in the normal formation of an expression such as abs(-5) |
Definition at line 39 of file MP_constant.cpp.
flopc::Constant_abs::Constant_abs | ( | const Constant & | c | ) | [inline, private] |
Definition at line 42 of file MP_constant.cpp.
double flopc::Constant_abs::evaluate | ( | ) | const [inline, private, virtual] |
for computing the absolute value of a constant value.This is used in the normal formation of an expression such as abs(-5)
Constant flopc::Constant_abs::C [private] |
Definition at line 46 of file MP_constant.cpp.
Referenced by evaluate().