|
Constant | floor (const Constant &c) |
| The floor integral value of the input constant.This is used in the formation of an expression. It is used to "truncate" a numeric constant which is potentially non-integer. More...
|
|
Definition at line 88 of file MP_constant.cpp.
flopc::Constant_floor::Constant_floor |
( |
const Constant & |
c | ) |
|
|
inlineprivate |
double flopc::Constant_floor::evaluate |
( |
| ) |
const |
|
inlineprivatevirtual |
The floor integral value of the input constant.This is used in the formation of an expression. It is used to "truncate" a numeric constant which is potentially non-integer.
- Parameters
-
- Returns
- the floor or "truncated" value of the parameter
- floor(3.7) evaluates to 3.0
Definition at line 97 of file MP_constant.cpp.
The documentation for this class was generated from the following file: