|
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.. More...
|
|
Definition at line 57 of file MP_constant.cpp.
flopc::Constant_pos::Constant_pos |
( |
const Constant & |
c | ) |
|
|
inlineprivate |
double flopc::Constant_pos::evaluate |
( |
| ) |
const |
|
inlineprivatevirtual |
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..
- Parameters
-
- Returns
- the absolute value of the constant.
- if the Constant is positive, it returns a positive number.
- if the Constant is negative or zero, it returns 0.0
Definition at line 71 of file MP_constant.cpp.
The documentation for this class was generated from the following file: