Lines Matching refs:iround
144 int i = iround(arg); in test_round_number()
153 int si = iround(static_cast<T>((std::numeric_limits<int>::max)())); in test_round_number()
155 si = iround(static_cast<T>((std::numeric_limits<int>::min)())); in test_round_number()
225 BOOST_MATH_CHECK_THROW(iround(static_cast<T>(1e20)), boost::math::rounding_error); in test_round()
226 BOOST_MATH_CHECK_THROW(iround(static_cast<T>(-1e20)), boost::math::rounding_error); in test_round()
236 … BOOST_MATH_CHECK_THROW(iround(std::numeric_limits<T>::infinity()), boost::math::rounding_error); in test_round()
237 … BOOST_MATH_CHECK_THROW(iround(-std::numeric_limits<T>::infinity()), boost::math::rounding_error); in test_round()
248 … BOOST_MATH_CHECK_THROW(iround(std::numeric_limits<T>::quiet_NaN()), boost::math::rounding_error); in test_round()
302 …BOOST_MATH_CHECK_THROW(iround(static_cast<T>((std::numeric_limits<int>::max)()) + 1), boost::math:… in test_round()
303 …BOOST_MATH_CHECK_THROW(iround(static_cast<T>((std::numeric_limits<int>::min)()) - 1), boost::math:… in test_round()
324 …BOOST_CHECK_EQUAL(iround((std::numeric_limits<int>::max)() + T(1.0), pol), (std::numeric_limits<in… in test_round()
325 …BOOST_CHECK_EQUAL(iround((std::numeric_limits<int>::min)() - T(1.0), pol), (std::numeric_limits<in… in test_round()
347 BOOST_CHECK_EQUAL(iround(big, pol), (std::numeric_limits<int>::max)()); in test_round()
349 BOOST_CHECK_EQUAL(iround(-big, pol), (std::numeric_limits<int>::min)()); in test_round()