25 #ifndef PPL_Sum_Floating_Point_Expression_inlines_hh
26 #define PPL_Sum_Floating_Point_Expression_inlines_hh 1
32 template <
typename FP_Interval_Type,
typename FP_Format>
38 : first_operand(x), second_operand(y) {
43 template <
typename FP_Interval_Type,
typename FP_Format>
48 delete second_operand;
51 template <
typename FP_Interval_Type,
typename FP_Format>
61 template <
typename FP_Interval_Type,
typename FP_Format>
70 #endif // !defined(PPL_Sum_Floating_Point_Expression_inlines_hh)
void swap(CO_Tree &x, CO_Tree &y)
Floating_Point_Expression< FP_Interval_Type, FP_Format > * first_operand
Pointer to the first operand.
void m_swap(Sum_Floating_Point_Expression< FP_Interval_Type, FP_Format > &y)
Swaps *this with y.
A generic Sum Floating Point Expression.
~Sum_Floating_Point_Expression()
Destructor.
The entire library is confined to this namespace.
Floating_Point_Expression< FP_Interval_Type, FP_Format > * second_operand
Pointer to the second operand.
Sum_Floating_Point_Expression(Floating_Point_Expression< FP_Interval_Type, FP_Format > *const x, Floating_Point_Expression< FP_Interval_Type, FP_Format > *const y)
Constructor with two parameters: builds the sum floating point expression corresponding to x y...
void swap(Sum_Floating_Point_Expression< FP_Interval_Type, FP_Format > &x, Sum_Floating_Point_Expression< FP_Interval_Type, FP_Format > &y)