Private Member Functions | |
Constant_floor (const Constant &c) | |
double | evaluate () const |
Private Attributes | |
Constant | C |
Friends | |
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. |
Definition at line 83 of file MP_constant.cpp.
flopc::Constant_floor::Constant_floor | ( | const Constant & | c | ) | [inline, private] |
Definition at line 86 of file MP_constant.cpp.
double flopc::Constant_floor::evaluate | ( | ) | const [inline, private, virtual] |
Implements flopc::Constant_base.
Definition at line 87 of file MP_constant.cpp.
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.
c | is a constant |
Referenced by evaluate().
Constant flopc::Constant_floor::C [private] |
Definition at line 90 of file MP_constant.cpp.
Referenced by evaluate().