/third_party/boost/boost/math/constants/ |
D | calculate_constants.hpp | 74 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/ |
D | test_policy_4.cpp | 31 …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() 38 …digits2<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 …]
|
D | test_policy_5.cpp | 32 …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() 39 …digits2<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 …]
|
D | test_policy_6.cpp | 31 …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() 38 …digits2<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 …]
|
D | test_policy_8.cpp | 38 …digits2<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() 40 …digits2<10>(), promote_float<false>()), policy<domain_error<ignore_error>, pole_error<ignore_error… in BOOST_AUTO_TEST_CASE() 42 …digits2<10>(), promote_float<false>(), promote_double<false>()), policy<domain_error<ignore_error>… in BOOST_AUTO_TEST_CASE() 43 …digits2<10>(), promote_float<false>(), promote_double<false>(), discrete_quantile<integer_round_do… in BOOST_AUTO_TEST_CASE()
|
D | test_policy.cpp | 36 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 …]
|
D | test_policy_7.cpp | 34 BOOST_CHECK(check_same(make_policy(digits2<20>()), normalise<policy<digits2<20> > >::type())); in BOOST_AUTO_TEST_CASE()
|
D | test_lambert_w_integrals_quad.cpp | 36 using boost::math::policies::digits2; 185 using boost::math::policies::digits2; in BOOST_AUTO_TEST_CASE()
|
D | test_lambert_w_integrals_long_double.cpp | 33 using boost::math::policies::digits2; 182 using boost::math::policies::digits2; in BOOST_AUTO_TEST_CASE()
|
D | test_lambert_w_integrals_float.cpp | 33 using boost::math::policies::digits2; 182 using boost::math::policies::digits2; in BOOST_AUTO_TEST_CASE()
|
D | test_lambert_w_integrals_double.cpp | 33 using boost::math::policies::digits2; 182 using boost::math::policies::digits2; in BOOST_AUTO_TEST_CASE()
|
D | test_lambert_w_integrals_float128.cpp | 37 using boost::math::policies::digits2; 186 using boost::math::policies::digits2; in BOOST_AUTO_TEST_CASE()
|
D | test_lambert_w_derivative.cpp | 60 using boost::math::policies::digits2;
|
D | test_policy_9.cpp | 30 constexpr auto p5 = make_policy(digits2<20>()); in test()
|
/third_party/boost/boost/multiprecision/detail/functions/ |
D | constants.hpp | 251 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 …]
|
D | pow.hpp | 106 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 …]
|
D | trig.hpp | 41 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/ |
D | c_policy.hpp | 30 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/ |
D | policy.hpp | 238 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/ |
D | policy_ref_snip11.cpp | 25 normal_distribution<double, policy<digits2<bits> > >(),
|
/third_party/glib/glib/gnulib/ |
D | vasnprintf.c | 3752 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/ |
D | vasnprintf.c | 3997 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/ |
D | vasnprintf.c | 3997 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/ |
D | distribution_concept_check.cpp | 19 …typedef policies::policy<policies::digits2<std::numeric_limits<RealType>::digits - 2> > custom_pol… in instantiate()
|
/third_party/boost/boost/math/special_functions/ |
D | cbrt.hpp | 117 …typedef typename policies::normalise<Policy, policies::digits2<new_prec::value> >::type new_policy; in cbrt_imp()
|