Home
last modified time | relevance | path

Searched refs:itrunc (Results 1 – 25 of 76) sorted by relevance

1234

/third_party/boost/boost/math/special_functions/detail/
Dbessel_derivatives_linear.hpp28 …ost::math::detail::cyl_bessel_j_imp<T>(itrunc(v-1), x, tag, pol) - boost::math::detail::cyl_bessel… in bessel_j_derivative_linear()
64 …ost::math::detail::cyl_bessel_k_imp<T>(itrunc(v-1), x, tag, pol) + boost::math::detail::cyl_bessel… in bessel_k_derivative_linear()
76 …oost::math::detail::cyl_neumann_imp<T>(itrunc(v-1), x, tag, pol) - boost::math::detail::cyl_neuman… in bessel_y_derivative_linear()
Dhypergeometric_1F1_large_abz.hpp37 log_scaling = itrunc(log_term - 3 - boost::math::tools::log_min_value<T>() / 50); in hypergeometric_1F1_igamma_series()
79 int scale = itrunc(x, pol); in hypergeometric_1F1_igamma()
89 int scale = itrunc(log_prefix); in hypergeometric_1F1_igamma()
115 int crossover_shift = itrunc(crossover_a - a_local); in hypergeometric_1F1_shift_on_a()
148 int scale = itrunc(log(h), pol) + 1; in hypergeometric_1F1_shift_on_a()
221 int rescale = itrunc(log(fabs(h))); in hypergeometric_1F1_shift_on_a()
266 int rescale = itrunc(log(fabs(h))); in hypergeometric_1F1_shift_on_b()
311 int b_shift = b * 2 < x ? 0 : itrunc(b - x / 2); in hypergeometric_1F1_large_igamma()
312 int a_shift = a > b - b_shift ? -itrunc(b - b_shift - a - 1) : -itrunc(b - b_shift - a); in hypergeometric_1F1_large_igamma()
347 a_shift = itrunc(a) - 5; in hypergeometric_1F1_large_series()
[all …]
Dhypergeometric_1F1_by_ratios.hpp101 int s = itrunc(log(fabs(M2))); in hypergeometric_1F1_from_function_ratio_negative_b()
117 int fz = itrunc(z); in hypergeometric_1F1_from_function_ratio_negative_b()
590 int steps = itrunc(ceil(-b)); in hypergeometric_1F1_from_function_ratio_negative_b_forwards()
597 int s = itrunc(tools::log_max_value<T>()); in hypergeometric_1F1_from_function_ratio_negative_b_forwards()
604 int s = itrunc(tools::log_max_value<T>()); in hypergeometric_1F1_from_function_ratio_negative_b_forwards()
663 int fz = itrunc(z); in hypergeometric_1F1_from_function_ratio_negative_ab()
Dhypergeometric_asym.hpp46 e = z > INT_MAX ? INT_MAX : itrunc(z, pol); in hypergeometric_1F1_asym_large_z_series()
57 e = itrunc(t, pol); in hypergeometric_1F1_asym_large_z_series()
62 e = itrunc(t, pol); in hypergeometric_1F1_asym_large_z_series()
67 e = itrunc(t, pol); in hypergeometric_1F1_asym_large_z_series()
Dround_fwd.hpp28 int itrunc(const T& v, const Policy& pol);
30 int itrunc(const T& v);
87 using boost::math::itrunc;\
Dhypergeometric_pFq_checked_series.hpp55 crossover_locations[N_terms] = itrunc(t); in set_crossover_locations()
61 crossover_locations[N_terms] = itrunc(t); in set_crossover_locations()
71 crossover_locations[N_terms] = itrunc(t); in set_crossover_locations()
77 crossover_locations[N_terms] = itrunc(t); in set_crossover_locations()
110 crossover_locations[n] = *bi >= 0 ? 0 : itrunc(-*bi) + 1; in set_crossover_locations()
130 int log_scaling_factor = itrunc(boost::math::tools::log_max_value<Real>()) - 2; in hypergeometric_pFq_checked_series_impl()
354 int scale = itrunc(floor(term - tools::log_min_value<Real>()) - 2); in hypergeometric_pFq_checked_series_impl()
360 int scale = itrunc(floor(term)); in hypergeometric_pFq_checked_series_impl()
Dhypergeometric_1F1_bessel.hpp82 log_scale = itrunc(term); in hypergeometric_1F1_AS_13_3_7_tricomi_series()
355 scale = itrunc(prefix); in hypergeometric_1F1_AS_13_3_7_tricomi()
418 scale = itrunc(tools::log_max_value<T>()) - 10; in hypergeometric_1F1_AS_13_3_7_tricomi()
454 int scale = boost::math::itrunc(x); in cyl_bessel_i_large_x_scaled()
573 int scale = itrunc(z, pol); in hypergeometric_1F1_AS_13_3_6()
582 int scale = itrunc(z / 2); in hypergeometric_1F1_AS_13_3_6()
719 int scaling = itrunc(prefix);
Dhypergeometric_series.hpp227 int cross = itrunc(ceil(-z)); in log_pochhammer()
256 int log_scaling_factor = itrunc(boost::math::tools::log_max_value<T>()) - 2; in hypergeometric_1F1_generic_series()
281 summit_location = itrunc(t); in hypergeometric_1F1_generic_series()
293 local_scaling = itrunc(term); in hypergeometric_1F1_generic_series()
/third_party/boost/libs/math/test/
Dtest_binomial_coeff.hpp31 boost::math::itrunc(n), in binomial_wrapper()
32 boost::math::itrunc(k)); in binomial_wrapper()
35 boost::math::itrunc(n), in binomial_wrapper()
36 boost::math::itrunc(k)); in binomial_wrapper()
Dtest_round.cpp146 i = itrunc(arg); in test_round_number()
157 si = itrunc(static_cast<T>((std::numeric_limits<int>::max)())); in test_round_number()
159 si = itrunc(static_cast<T>((std::numeric_limits<int>::min)())); in test_round_number()
254 BOOST_MATH_CHECK_THROW(itrunc(static_cast<T>(1e20)), boost::math::rounding_error); in test_round()
255 BOOST_MATH_CHECK_THROW(itrunc(static_cast<T>(-1e20)), boost::math::rounding_error); in test_round()
265 … BOOST_MATH_CHECK_THROW(itrunc(std::numeric_limits<T>::infinity()), boost::math::rounding_error); in test_round()
266 … BOOST_MATH_CHECK_THROW(itrunc(-std::numeric_limits<T>::infinity()), boost::math::rounding_error); in test_round()
277 … BOOST_MATH_CHECK_THROW(itrunc(std::numeric_limits<T>::quiet_NaN()), boost::math::rounding_error); in test_round()
285 …BOOST_MATH_CHECK_THROW(itrunc(static_cast<T>((std::numeric_limits<int>::max)()) + 1), boost::math:… in test_round()
286 …BOOST_MATH_CHECK_THROW(itrunc(static_cast<T>((std::numeric_limits<int>::min)()) - 1), boost::math:… in test_round()
[all …]
Dfunctor.hpp128 return f(boost::math::itrunc(Real(row[m_i])), row[m_j]); in operator ()()
151 boost::math::itrunc(Real(row[m_i])), in operator ()()
152 boost::math::itrunc(Real(row[m_j])), in operator ()()
176 boost::math::itrunc(Real(row[m_i])), in operator ()()
177 boost::math::itrunc(Real(row[m_j])), in operator ()()
Dtest_bessel_i_prime.hpp29 boost::math::itrunc(v), x)); in cyl_bessel_i_prime_int_wrapper()
33 boost::math::itrunc(v), x)); in cyl_bessel_i_prime_int_wrapper()
Dtest_bessel_k.hpp29 boost::math::itrunc(v), x)); in cyl_bessel_k_int_wrapper()
33 boost::math::itrunc(v), x)); in cyl_bessel_k_int_wrapper()
/third_party/boost/libs/math/test/compile_test/
Dsf_trunc_incl_test.cpp23 check_result<int>(boost::math::itrunc<float>(f)); in compile_and_link_test()
24 check_result<int>(boost::math::itrunc<double>(d)); in compile_and_link_test()
26 check_result<int>(boost::math::itrunc<long double>(l)); in compile_and_link_test()
/third_party/boost/boost/math/special_functions/
Dtrunc.hpp60 inline int itrunc(const T& v, const Policy& pol) in itrunc() function
70 inline int itrunc(const T& v) in itrunc() function
72 return itrunc(v, policies::policy<>()); in itrunc()
122 using boost::math::itrunc; in iconvert()
123 return itrunc(v, pol); in iconvert()
Dhypergeometric_1F1.hpp70 int k = 1 + itrunc(z - z_limit); in hypergeometric_1F1_divergent_fallback()
332 int scale = itrunc(z, pol); in hypergeometric_1F1_imp()
361 int scale = itrunc(z, pol); in hypergeometric_1F1_imp()
374 int scaling = itrunc(z); in hypergeometric_1F1_imp()
392 int scale = itrunc(z, pol); in hypergeometric_1F1_imp()
447 int scaling = itrunc(z); in hypergeometric_1F1_imp()
567 int scaling = itrunc(z); in hypergeometric_1F1_imp()
594 static const thread_local int max_scaling = itrunc(boost::math::tools::log_max_value<T>()) - 2; in hypergeometric_1F1_imp()
597 int max_scaling = itrunc(boost::math::tools::log_max_value<T>()) - 2; in hypergeometric_1F1_imp()
/third_party/boost/libs/multiprecision/test/
Dtest_round.cpp218 i = itrunc(arg); in test()
220 BOOST_TEST(i == itrunc(arg + 0)); in test()
261 si = itrunc(static_cast<T>((std::numeric_limits<int>::max)())); in test()
263 BOOST_TEST(si == itrunc(static_cast<T>((std::numeric_limits<int>::max)()) + 0)); in test()
264 si = itrunc(static_cast<T>((std::numeric_limits<int>::min)())); in test()
266 BOOST_TEST(si == itrunc(static_cast<T>((std::numeric_limits<int>::min)()) + 0)); in test()
272 si = itrunc(static_cast<T>((std::numeric_limits<int>::max)() - 1)); in test()
274 si = itrunc(static_cast<T>((std::numeric_limits<int>::min)() + 1)); in test()
361 …BOOST_CHECK_THROW(result = static_cast<T>(itrunc(static_cast<T>(1e20))), boost::math::rounding_err… in test()
362 …BOOST_CHECK_THROW(result = static_cast<T>(itrunc(static_cast<T>(-1e20))), boost::math::rounding_er… in test()
[all …]
/third_party/boost/libs/math/tools/
Dbessel_derivative_data.cpp56 …return boost::math::sph_bessel(itrunc(v-1), x) - ((v + 1) / x) * boost::math::sph_bessel(itrunc(v)… in sph_bessel_j_derivative_bare()
66 …return boost::math::sph_neumann(itrunc(v-1), x) - ((v + 1) / x) * boost::math::sph_neumann(itrunc(… in sph_bessel_y_derivative_bare()
Dhypergeometric_dist_data.cpp40 int N = itrunc(rN); in operator ()()
41 int r = itrunc(rr); in operator ()()
42 int n = itrunc(rn); in operator ()()
Dbessel_derivative_data_from_bessel_ipps.cpp54 …return boost::math::sph_bessel(itrunc(v-1), x) - ((v + 1) / x) * boost::math::sph_bessel(itrunc(v)… in sph_bessel_j_derivative_bare()
64 …return boost::math::sph_neumann(itrunc(v-1), x) - ((v + 1) / x) * boost::math::sph_neumann(itrunc(… in sph_bessel_y_derivative_bare()
Dbessel_derivative_append_negative.cpp59 …return boost::math::sph_bessel(itrunc(v-1), x) - ((v + 1) / x) * boost::math::sph_bessel(itrunc(v)… in sph_bessel_j_derivative_bare()
69 …return boost::math::sph_neumann(itrunc(v-1), x) - ((v + 1) / x) * boost::math::sph_neumann(itrunc(… in sph_bessel_y_derivative_bare()
/third_party/boost/boost/math/concepts/
Dreal_concept.hpp301 inline int itrunc(const concepts::real_concept& v, const Policy& pol) in itrunc() function
302 { return boost::math::itrunc(v.value(), pol); } in itrunc()
303 inline int itrunc(const concepts::real_concept& v) in itrunc() function
304 { return boost::math::itrunc(v.value(), policies::policy<>()); } in itrunc()
488 using concepts::itrunc;
Dstd_real_concept.hpp295 inline int itrunc(const concepts::std_real_concept& v, const Policy& pol) in itrunc() function
297 return boost::math::itrunc(v.value(), pol); in itrunc()
299 inline int itrunc(const concepts::std_real_concept& v) in itrunc() function
301 return boost::math::itrunc(v.value(), policies::policy<>()); in itrunc()
415 using concepts::itrunc;
/third_party/boost/libs/math/doc/fp_utilities/
Drounding_func.qbk54 int itrunc(const T& v);
57 int itrunc(const T& v, const Policy&);
74 For example `itrunc(3.7)` would return `3` and `ltrunc(-4.6)`
/third_party/boost/boost/math/distributions/
Dhypergeometric.hpp139 …unsigned u = itrunc(r, typename policies::normalise<Policy, policies::rounding_error<policies::ign… in pdf()
168 …unsigned u = itrunc(r, typename policies::normalise<Policy, policies::rounding_error<policies::ign… in cdf()
197 …unsigned u = itrunc(r, typename policies::normalise<Policy, policies::rounding_error<policies::ign… in cdf()

1234