|
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. More...
|
|
Definition at line 75 of file MP_constant.cpp.
flopc::Constant_ceil::Constant_ceil |
( |
const Constant & |
c | ) |
|
|
inlineprivate |
double flopc::Constant_ceil::evaluate |
( |
| ) |
const |
|
inlineprivatevirtual |
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 84 of file MP_constant.cpp.
The documentation for this class was generated from the following file: