Friends |
Constant | ceil (const Constant &c) |
| The ceiling integral value of the input constant.This is used in the formation of an expression. It is used to "round up" a numeric constant which is potentially non-integer.
|
Detailed Description
Definition at line 70 of file MP_constant.cpp.
Constructor & Destructor Documentation
flopc::Constant_ceil::Constant_ceil |
( |
const Constant & |
c | ) |
|
|
inlineprivate |
Member Function Documentation
double flopc::Constant_ceil::evaluate |
( |
| ) |
const |
|
inlineprivate |
Friends And Related Function Documentation
The ceiling integral value of the input constant.This is used in the formation of an expression. It is used to "round up" a numeric constant which is potentially non-integer.
- Parameters
-
- Returns
- the ceiling or "rounded up" of the parameter
- ceil(3.2) evaluates to 4.0
Definition at line 79 of file MP_constant.cpp.
Referenced by evaluate().
Member Data Documentation
The documentation for this class was generated from the following file: