|
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) More...
|
|
Definition at line 44 of file MP_constant.cpp.
flopc::Constant_abs::Constant_abs |
( |
const Constant & |
c | ) |
|
|
inlineprivate |
double flopc::Constant_abs::evaluate |
( |
| ) |
const |
|
inlineprivatevirtual |
for computing the absolute value of a constant value.This is used in the normal formation of an expression such as abs(-5)
- input is a constant. It cannot be a variable expression.
- Returns a Constant evaluating to the absolute value of the parameter
Definition at line 53 of file MP_constant.cpp.
The documentation for this class was generated from the following file: