Home
last modified time | relevance | path

Searched defs:addition_result (Results 1 – 4 of 4) sorted by relevance

/third_party/boost/boost/safe_numerics/
Dautomatic.hpp55 struct addition_result { struct
56 using temp_base_type = typename std::conditional<
66 using r_type = checked_result<temp_base_type>;
67 using r_interval_type = interval<r_type>;
69 constexpr static const r_interval_type t_interval{
74 constexpr static const r_interval_type u_interval{
79 constexpr static const r_interval_type r_interval = t_interval + u_interval;
81 constexpr static auto rl = r_interval.l;
82 constexpr static auto ru = r_interval.u;
84 using type = typename result_type<
Dsafe_base_operations.hpp320 struct addition_result { struct
322 using promotion_policy = typename common_promotion_policy<T, U>::type;
323 using result_base_type =
328 return_value(const T & t, const U & u, std::false_type){ in return_value()
335 using exception_policy = typename common_exception_policy<T, U>::type;
337 using r_type = checked_result<result_base_type>;
340 return_value(const T & t, const U & u, std::true_type){ in return_value()
357 using r_type_interval_t = interval<r_type>;
359 constexpr static const r_type_interval_t get_r_type_interval(){ in get_r_type_interval()
370 constexpr static const r_type_interval_t r_type_interval = get_r_type_interval();
[all …]
Dnative.hpp23 struct addition_result { struct
24 using type = decltype(
Dcpp.hpp146 struct addition_result { struct
147 using type = result_type<T, U>;