Searched refs:check_trunc_result (Results 1 – 2 of 2) sorted by relevance
/third_party/boost/libs/multiprecision/test/ |
D | test_round.cpp | 143 void check_trunc_result(T a, U u) in check_trunc_result() function 208 check_trunc_result(arg, r); in test() 219 check_trunc_result(arg, i); in test() 230 check_trunc_result(arg, l); in test() 243 check_trunc_result(arg, ll); in test() 262 check_trunc_result(static_cast<T>((std::numeric_limits<int>::max)()), si); in test() 265 check_trunc_result(static_cast<T>((std::numeric_limits<int>::min)()), si); in test() 273 check_trunc_result(static_cast<T>((std::numeric_limits<int>::max)() - 1), si); in test() 275 check_trunc_result(static_cast<T>((std::numeric_limits<int>::min)() + 1), si); in test() 286 check_trunc_result(static_cast<T>((std::numeric_limits<long>::max)()), k); in test() [all …]
|
/third_party/boost/libs/math/test/ |
D | test_round.cpp | 74 void check_trunc_result(T a, U u) in check_trunc_result() function 138 check_trunc_result(arg, r); in test_round_number() 147 check_trunc_result(arg, T(i)); in test_round_number() 158 check_trunc_result(static_cast<T>((std::numeric_limits<int>::max)()), T(si)); in test_round_number() 160 check_trunc_result(static_cast<T>((std::numeric_limits<int>::min)()), T(si)); in test_round_number() 167 check_trunc_result(arg, T(l)); in test_round_number() 178 check_trunc_result(static_cast<T>((std::numeric_limits<long>::max)()), T(k)); in test_round_number() 180 check_trunc_result(static_cast<T>((std::numeric_limits<long>::min)()), T(k)); in test_round_number() 189 check_trunc_result(arg, T(ll)); in test_round_number() 200 check_trunc_result(static_cast<T>((std::numeric_limits<boost::long_long_type>::max)()), T(j)); in test_round_number() [all …]
|