25 #ifndef PPL_Cast_Floating_Point_Expression_templates_hh
26 #define PPL_Cast_Floating_Point_Expression_templates_hh 1
30 template <
typename FP_Interval_Type,
typename FP_Format>
35 if (!expr->linearize(int_store, lf_store, result)) {
39 relative_error(result, rel_error);
41 result += this->absolute_error;
42 return !this->overflows(result);
47 #endif // !defined(PPL_Cast_Floating_Point_Expression_templates_hh)
bool linearize(const FP_Interval_Abstract_Store &int_store, const FP_Linear_Form_Abstract_Store &lf_store, FP_Linear_Form &result) const
Linearizes the expression in a given astract store.
A not necessarily closed, iso-oriented hyperrectangle.
The entire library is confined to this namespace.
Floating_Point_Expression< FP_Interval_Type, FP_Format >::FP_Linear_Form_Abstract_Store FP_Linear_Form_Abstract_Store
Alias for the std::map from Floating_Point_Expression.