Home
last modified time | relevance | path

Searched refs:digits2 (Results 1 – 25 of 40) sorted by relevance

12

/third_party/boost/boost/math/constants/
Dcalculate_constants.hpp74 return 2 * pi<T, policies::policy<policies::digits2<N> > >(); in compute()
81 return 2 / pi<T, policies::policy<policies::digits2<N> > >(); in compute()
89 return sqrt((2 / pi<T, policies::policy<policies::digits2<N> > >())); in compute()
96 return 1 / two_pi<T, policies::policy<policies::digits2<N> > >(); in compute()
104 return sqrt(pi<T, policies::policy<policies::digits2<N> > >()); in compute()
112 return sqrt(pi<T, policies::policy<policies::digits2<N> > >() / 2); in compute()
120 return sqrt(two_pi<T, policies::policy<policies::digits2<N> > >()); in compute()
128 return log(root_two_pi<T, policies::policy<policies::digits2<N> > >()); in compute()
199 return euler<T, policies::policy<policies::digits2<N> > >() in compute()
200 * euler<T, policies::policy<policies::digits2<N> > >(); in compute()
[all …]
/third_party/boost/libs/math/test/
Dtest_policy_4.cpp31 …BOOST_CHECK((is_same<policy<digits2<20>, promote_float<false>, discrete_quantile<integer_round_dow… in BOOST_AUTO_TEST_CASE()
32 …BOOST_CHECK((is_same<policy<digits2<20>, promote_float<false>, discrete_quantile<integer_round_dow… in BOOST_AUTO_TEST_CASE()
33 …BOOST_CHECK((is_same<policy<digits2<20>, promote_float<false>, discrete_quantile<integer_round_dow… in BOOST_AUTO_TEST_CASE()
34 …BOOST_CHECK((is_same<policy<digits2<20>, promote_float<false>, discrete_quantile<integer_round_dow… in BOOST_AUTO_TEST_CASE()
35 …BOOST_CHECK((is_same<policy<digits2<20>, promote_float<false>, discrete_quantile<integer_round_dow… in BOOST_AUTO_TEST_CASE()
36 …BOOST_CHECK((is_same<policy<digits2<20>, promote_float<false>, discrete_quantile<integer_round_dow… in BOOST_AUTO_TEST_CASE()
37 …BOOST_CHECK((is_same<policy<digits2<20>, promote_float<false>, discrete_quantile<integer_round_dow… in BOOST_AUTO_TEST_CASE()
38digits2<20>, promote_float<false>, discrete_quantile<integer_round_down>, denorm_error<throw_on_er… in BOOST_AUTO_TEST_CASE()
39 …BOOST_CHECK((is_same<policy<digits2<20>, promote_float<false>, discrete_quantile<integer_round_dow… in BOOST_AUTO_TEST_CASE()
40 …BOOST_CHECK((is_same<policy<digits2<20>, promote_float<false>, discrete_quantile<integer_round_dow… in BOOST_AUTO_TEST_CASE()
[all …]
Dtest_policy_5.cpp32 …BOOST_CHECK((is_same<normalise<policy<digits2<20>, promote_float<false>, discrete_quantile<integer… in BOOST_AUTO_TEST_CASE()
33 …BOOST_CHECK((is_same<normalise<policy<digits2<20>, promote_float<false>, discrete_quantile<integer… in BOOST_AUTO_TEST_CASE()
34 …BOOST_CHECK((is_same<normalise<policy<digits2<20>, promote_float<false>, discrete_quantile<integer… in BOOST_AUTO_TEST_CASE()
35 …BOOST_CHECK((is_same<normalise<policy<digits2<20>, promote_float<false>, discrete_quantile<integer… in BOOST_AUTO_TEST_CASE()
36 …BOOST_CHECK((is_same<normalise<policy<digits2<20>, promote_float<false>, discrete_quantile<integer… in BOOST_AUTO_TEST_CASE()
37 …BOOST_CHECK((is_same<normalise<policy<digits2<20>, promote_float<false>, discrete_quantile<integer… in BOOST_AUTO_TEST_CASE()
38 …BOOST_CHECK((is_same<normalise<policy<digits2<20>, promote_float<false>, discrete_quantile<integer… in BOOST_AUTO_TEST_CASE()
39digits2<20>, promote_float<false>, discrete_quantile<integer_round_down>, denorm_error<throw_on_er… in BOOST_AUTO_TEST_CASE()
40 …BOOST_CHECK((is_same<normalise<policy<digits2<20>, promote_float<false>, discrete_quantile<integer… in BOOST_AUTO_TEST_CASE()
41 …BOOST_CHECK((is_same<normalise<policy<digits2<20>, promote_float<false>, discrete_quantile<integer… in BOOST_AUTO_TEST_CASE()
[all …]
Dtest_policy_6.cpp31 …BOOST_CHECK((is_same<normalise<policy<>, digits2<20>, promote_float<false>, discrete_quantile<inte… in BOOST_AUTO_TEST_CASE()
32 …BOOST_CHECK((is_same<normalise<policy<>, digits2<20>, promote_float<false>, discrete_quantile<inte… in BOOST_AUTO_TEST_CASE()
33 …BOOST_CHECK((is_same<normalise<policy<>, digits2<20>, promote_float<false>, discrete_quantile<inte… in BOOST_AUTO_TEST_CASE()
34 …BOOST_CHECK((is_same<normalise<policy<>, digits2<20>, promote_float<false>, discrete_quantile<inte… in BOOST_AUTO_TEST_CASE()
35 …BOOST_CHECK((is_same<normalise<policy<>, digits2<20>, promote_float<false>, discrete_quantile<inte… in BOOST_AUTO_TEST_CASE()
36 …BOOST_CHECK((is_same<normalise<policy<>, digits2<20>, promote_float<false>, discrete_quantile<inte… in BOOST_AUTO_TEST_CASE()
37 …BOOST_CHECK((is_same<normalise<policy<>, digits2<20>, promote_float<false>, discrete_quantile<inte… in BOOST_AUTO_TEST_CASE()
38digits2<20>, promote_float<false>, discrete_quantile<integer_round_down>, denorm_error<throw_on_er… in BOOST_AUTO_TEST_CASE()
39 …BOOST_CHECK((is_same<normalise<policy<>, digits2<20>, promote_float<false>, discrete_quantile<inte… in BOOST_AUTO_TEST_CASE()
40 …BOOST_CHECK((is_same<normalise<policy<>, digits2<20>, promote_float<false>, discrete_quantile<inte… in BOOST_AUTO_TEST_CASE()
[all …]
Dtest_policy_8.cpp38digits2<10>()), policy<domain_error<ignore_error>, pole_error<ignore_error>, overflow_error<ignore… in BOOST_AUTO_TEST_CASE()
39 …or>, evaluation_error<ignore_error>, indeterminate_result_error<throw_on_error>, digits2<19> >())); in BOOST_AUTO_TEST_CASE()
40digits2<10>(), promote_float<false>()), policy<domain_error<ignore_error>, pole_error<ignore_error… in BOOST_AUTO_TEST_CASE()
42digits2<10>(), promote_float<false>(), promote_double<false>()), policy<domain_error<ignore_error>… in BOOST_AUTO_TEST_CASE()
43digits2<10>(), promote_float<false>(), promote_double<false>(), discrete_quantile<integer_round_do… in BOOST_AUTO_TEST_CASE()
Dtest_policy.cpp36 BOOST_CHECK(0 == is_digits10<digits2<ignore_error> >::value); in BOOST_AUTO_TEST_CASE()
125 …BOOST_CHECK((is_same<policy<digits2<20> >::domain_error_type, policy<>::domain_error_type >::value… in BOOST_AUTO_TEST_CASE()
126 BOOST_CHECK((is_same<policy<digits2<20> >::pole_error_type, policy<>::pole_error_type >::value)); in BOOST_AUTO_TEST_CASE()
127 …BOOST_CHECK((is_same<policy<digits2<20> >::overflow_error_type, policy<>::overflow_error_type >::v… in BOOST_AUTO_TEST_CASE()
128 …BOOST_CHECK((is_same<policy<digits2<20> >::underflow_error_type, policy<>::underflow_error_type >:… in BOOST_AUTO_TEST_CASE()
129 …BOOST_CHECK((is_same<policy<digits2<20> >::denorm_error_type, policy<>::denorm_error_type >::value… in BOOST_AUTO_TEST_CASE()
130 …BOOST_CHECK((is_same<policy<digits2<20> >::evaluation_error_type, policy<>::evaluation_error_type … in BOOST_AUTO_TEST_CASE()
131 …BOOST_CHECK((is_same<policy<digits2<20> >::indeterminate_result_error_type, policy<>::indeterminat… in BOOST_AUTO_TEST_CASE()
132 BOOST_CHECK((is_same<policy<digits2<20> >::precision_type, digits2<20> >::value)); in BOOST_AUTO_TEST_CASE()
133 …BOOST_CHECK((is_same<policy<digits2<20> >::promote_float_type, policy<>::promote_float_type>::valu… in BOOST_AUTO_TEST_CASE()
[all …]
Dtest_policy_7.cpp34 BOOST_CHECK(check_same(make_policy(digits2<20>()), normalise<policy<digits2<20> > >::type())); in BOOST_AUTO_TEST_CASE()
Dtest_lambert_w_integrals_quad.cpp36 using boost::math::policies::digits2;
185 using boost::math::policies::digits2; in BOOST_AUTO_TEST_CASE()
Dtest_lambert_w_integrals_long_double.cpp33 using boost::math::policies::digits2;
182 using boost::math::policies::digits2; in BOOST_AUTO_TEST_CASE()
Dtest_lambert_w_integrals_float.cpp33 using boost::math::policies::digits2;
182 using boost::math::policies::digits2; in BOOST_AUTO_TEST_CASE()
Dtest_lambert_w_integrals_double.cpp33 using boost::math::policies::digits2;
182 using boost::math::policies::digits2; in BOOST_AUTO_TEST_CASE()
Dtest_lambert_w_integrals_float128.cpp37 using boost::math::policies::digits2;
186 using boost::math::policies::digits2; in BOOST_AUTO_TEST_CASE()
Dtest_lambert_w_derivative.cpp60 using boost::math::policies::digits2;
Dtest_policy_9.cpp30 constexpr auto p5 = make_policy(digits2<20>()); in test()
/third_party/boost/boost/multiprecision/detail/functions/
Dconstants.hpp251 if (!b || (digits != boost::multiprecision::detail::digits2<number<T> >::value()))
255 if ((digits != boost::multiprecision::detail::digits2<number<T> >::value()))
258 calc_log2(result, boost::multiprecision::detail::digits2<number<T, et_on> >::value());
259 digits = boost::multiprecision::detail::digits2<number<T> >::value();
274 if (!b || (digits != boost::multiprecision::detail::digits2<number<T> >::value()))
278 if ((digits != boost::multiprecision::detail::digits2<number<T> >::value()))
281 calc_e(result, boost::multiprecision::detail::digits2<number<T, et_on> >::value());
282 digits = boost::multiprecision::detail::digits2<number<T> >::value();
297 if (!b || (digits != boost::multiprecision::detail::digits2<number<T> >::value()))
301 if ((digits != boost::multiprecision::detail::digits2<number<T> >::value()))
[all …]
Dpow.hpp106 long tol = boost::multiprecision::detail::digits2<number<T, et_on> >::value(); in hyp0F0()
121 boost::multiprecision::detail::digits2<number<T, et_on> >::value() < 100 in hyp0F0()
123 : boost::multiprecision::detail::digits2<number<T, et_on> >::value(); in hyp0F0()
162 eval_ldexp(lim, H1F0, 1 - boost::multiprecision::detail::digits2<number<T, et_on> >::value()); in hyp1F0()
170 boost::multiprecision::detail::digits2<number<T, et_on> >::value() < 100 in hyp1F0()
172 : boost::multiprecision::detail::digits2<number<T, et_on> >::value(); in hyp1F0()
248 … eval_ldexp(lim, result, 1 - boost::multiprecision::detail::digits2<number<T, et_on> >::value()); in eval_exp()
406 … eval_ldexp(lim, result, 1 - boost::multiprecision::detail::digits2<number<T, et_on> >::value()); in eval_log()
435 if (!b || (digits != boost::multiprecision::detail::digits2<number<T> >::value()))
439 if ((digits != boost::multiprecision::detail::digits2<number<T> >::value()))
[all …]
Dtrig.hpp41 eval_ldexp(tol, tol, 1 - boost::multiprecision::detail::digits2<number<T, et_on> >::value()); in hyp0F1()
48 boost::multiprecision::detail::digits2<number<T, et_on> >::value() < 100 in hyp0F1()
50 : boost::multiprecision::detail::digits2<number<T, et_on> >::value(); in hyp0F1()
394 eval_ldexp(lim, result, 1 - boost::multiprecision::detail::digits2<number<T, et_on> >::value()); in hyp2F1()
403 boost::multiprecision::detail::digits2<number<T, et_on> >::value() < 100 in hyp2F1()
405 : boost::multiprecision::detail::digits2<number<T, et_on> >::value(); in hyp2F1()
/third_party/boost/libs/math/src/tr1/
Dc_policy.hpp30 typedef digits2<> precision_type;
32 typedef detail::precision<digits10<>, digits2<> >::type precision_type;
63 typedef digits2<> precision_type;
65 typedef detail::precision<digits10<>, digits2<> >::type precision_type;
/third_party/boost/boost/math/policies/
Dpolicy.hpp238 BOOST_MATH_META_INT(int, digits2, 0)
265 digits2<0>,
266 digits2<((Digits10::value + 1) * 1000L) / 301L>
438 …typedef typename detail::find_arg<arg_list, is_digits2<mpl::_1>, digits2<> >::type bits_precision_…
478 typedef digits2<> precision_type;
480 typedef detail::precision<digits10<>, digits2<> >::type precision_type;
503 typedef digits2<> precision_type;
505 typedef detail::precision<digits10<>, digits2<> >::type precision_type;
770 digits2< ::std::numeric_limits<Real>::digits>,
780 typedef digits2<FLT_MANT_DIG> type;
[all …]
/third_party/boost/libs/math/example/
Dpolicy_ref_snip11.cpp25 normal_distribution<double, policy<digits2<bits> > >(),
/third_party/glib/glib/gnulib/
Dvasnprintf.c3752 char *digits2 = in VASNPRINTF() local
3755 if (digits2 == NULL) in VASNPRINTF()
3761 if (strlen (digits2) == precision + 1) in VASNPRINTF()
3764 digits = digits2; in VASNPRINTF()
3768 free (digits2); in VASNPRINTF()
3888 char *digits2 = in VASNPRINTF() local
3891 if (digits2 == NULL) in VASNPRINTF()
3897 if (strlen (digits2) == precision) in VASNPRINTF()
3900 digits = digits2; in VASNPRINTF()
3904 free (digits2); in VASNPRINTF()
[all …]
/third_party/gettext/gettext-runtime/libasprintf/
Dvasnprintf.c3997 char *digits2 = in VASNPRINTF() local
4000 if (digits2 == NULL) in VASNPRINTF()
4006 if (strlen (digits2) == precision + 1) in VASNPRINTF()
4009 digits = digits2; in VASNPRINTF()
4013 free (digits2); in VASNPRINTF()
4133 char *digits2 = in VASNPRINTF() local
4136 if (digits2 == NULL) in VASNPRINTF()
4142 if (strlen (digits2) == precision) in VASNPRINTF()
4145 digits = digits2; in VASNPRINTF()
4149 free (digits2); in VASNPRINTF()
[all …]
/third_party/gettext/gettext-runtime/intl/
Dvasnprintf.c3997 char *digits2 = in VASNPRINTF() local
4000 if (digits2 == NULL) in VASNPRINTF()
4006 if (strlen (digits2) == precision + 1) in VASNPRINTF()
4009 digits = digits2; in VASNPRINTF()
4013 free (digits2); in VASNPRINTF()
4133 char *digits2 = in VASNPRINTF() local
4136 if (digits2 == NULL) in VASNPRINTF()
4142 if (strlen (digits2) == precision) in VASNPRINTF()
4145 digits = digits2; in VASNPRINTF()
4149 free (digits2); in VASNPRINTF()
[all …]
/third_party/boost/libs/math/test/compile_test/
Ddistribution_concept_check.cpp19 …typedef policies::policy<policies::digits2<std::numeric_limits<RealType>::digits - 2> > custom_pol… in instantiate()
/third_party/boost/boost/math/special_functions/
Dcbrt.hpp117 …typedef typename policies::normalise<Policy, policies::digits2<new_prec::value> >::type new_policy; in cbrt_imp()

12