/third_party/boost/boost/multiprecision/ |
D | mpc.hpp | 30 template <unsigned digits10> 35 template <unsigned digits10> 36 struct number_category<backends::mpc_complex_backend<digits10> > : public mpl::int_<number_kind_com… 61 template <unsigned digits10> 76 …mpc_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_default… in mpc_complex_imp() 120 …mpc_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_default… in operator =() 127 …mpc_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_default… in operator =() 134 mpfr_float_backend<digits10> f(0uL, mpc_get_prec(m_data)); in operator =() 141 mpfr_float_backend<digits10> f(0uL, mpc_get_prec(m_data)); in operator =() 151 …mpc_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_default… in operator =() [all …]
|
D | mpfi.hpp | 31 template <unsigned digits10> 36 template <unsigned digits10> 37 struct number_category<backends::mpfi_float_backend<digits10> > : public mpl::int_<number_kind_floa… 60 template <unsigned digits10> 63 template <unsigned digits10> 78 …mpfi_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_defaul… in mpfi_float_imp() 129 …mpfi_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_defaul… in operator =() 137 …mpfi_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_defaul… in operator =() 146 …mpfi_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_defaul… in operator =() 150 …_long_type>::digits), static_cast<unsigned long>(multiprecision::detail::digits10_2_2(digits10)))); in operator =() [all …]
|
D | mpfr.hpp | 36 template <unsigned digits10, mpfr_allocation_type AllocationType = allocate_dynamic> 44 template <unsigned digits10, mpfr_allocation_type AllocationType> 45 struct number_category<backends::mpfr_float_backend<digits10, AllocationType> > : public mpl::int_<… 86 template <unsigned digits10, mpfr_allocation_type AllocationType> 89 template <unsigned digits10> 90 struct mpfr_float_imp<digits10, allocate_dynamic> 104 …mpfr_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_defaul… in mpfr_float_imp() 148 …mpfr_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_defaul… in operator =() 155 …mpfr_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_defaul… in operator =() 163 …mpfr_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_defaul… in operator =() [all …]
|
D | gmp.hpp | 58 template <unsigned digits10> 71 template <unsigned digits10> 72 struct number_category<backends::gmp_float<digits10> > : public mpl::int_<number_kind_floating_poin… 83 template <unsigned digits10> 158 …mpf_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_default… in operator =() 162 …mpf_init2(t, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_default_prec… in operator =() 180 …mpf_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_default… in operator =() 191 …mpf_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_default… in operator =() 198 …mpf_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_default… in operator =() 205 …mpf_init2(m_data, multiprecision::detail::digits10_2_2(digits10 ? digits10 : (unsigned)get_default… in operator =() [all …]
|
/third_party/boost/libs/multiprecision/example/ |
D | mpfr_precision.cpp | 116 …at beta_distribution_median_method_1(mpfr_float const& a_, mpfr_float const& b_, unsigned digits10) in beta_distribution_median_method_1() argument 118 scoped_precision sp(digits10); in beta_distribution_median_method_1() 119 mpfr_float half(0.5), a(a_, digits10), b(b_, digits10); in beta_distribution_median_method_1() 143 …at beta_distribution_median_method_2(mpfr_float const& a_, mpfr_float const& b_, unsigned digits10) in beta_distribution_median_method_2() argument 145 scoped_precision sp(digits10); in beta_distribution_median_method_2() 146 mpfr_float half(0.5), a(a_, digits10), b(b_, digits10); in beta_distribution_median_method_2() 150 while (current_digits < digits10) in beta_distribution_median_method_2() 183 …at beta_distribution_median_method_3(mpfr_float const& a_, mpfr_float const& b_, unsigned digits10) in beta_distribution_median_method_3() argument 188 while (current_digits < digits10) in beta_distribution_median_method_3() 191 scoped_precision sp((std::min)(current_digits, digits10)); in beta_distribution_median_method_3()
|
D | floating_point_examples.cpp | 467 std::cout << std::scientific << std::setprecision(std::numeric_limits<double>::digits10); in main() 469 …std::cout << std::scientific << std::setprecision(std::numeric_limits<cpp_dec_float_50>::digits10); in main() 471 std::cout << std::scientific << std::setprecision(std::numeric_limits<double>::digits10); in main() 473 …std::cout << std::scientific << std::setprecision(std::numeric_limits<cpp_dec_float_50>::digits10); in main() 475 …td::cout << std::scientific << std::setprecision(std::numeric_limits<cpp_dec_float_100>::digits10); in main() 499 << std::setprecision(std::numeric_limits<float>::digits10) in main() 505 << std::setprecision(std::numeric_limits<double>::digits10) in main() 511 << std::setprecision(std::numeric_limits<cpp_dec_float_50>::digits10) in main() 564 << std::setprecision(std::numeric_limits<float>::digits10) in main() 570 << std::setprecision(std::numeric_limits<double>::digits10) in main() [all …]
|
D | numeric_limits_snips.cpp | 86 std::cout.precision(std::numeric_limits<T>::digits10); in BOOST_AUTO_TEST_CASE() 113 s.precision(std::numeric_limits<double>::digits10); // or `float64_t` for 64-bit IEE754 double. in BOOST_AUTO_TEST_CASE() 118 std::cout << std::setprecision(std::numeric_limits<double>::digits10) in BOOST_AUTO_TEST_CASE() 190 << std::setw(std::numeric_limits<short>::digits10 +1 +1) // digits10+1, and +1 for sign. in BOOST_AUTO_TEST_CASE() 193 << std::setw(std::numeric_limits<short>::digits10 +1 +1) in BOOST_AUTO_TEST_CASE() 201 … << std::setw(std::numeric_limits<unsigned short>::digits10 +1 +1) // digits10+1, and +1 for sign. in BOOST_AUTO_TEST_CASE() 204 … << std::setw(std::numeric_limits<unsigned short>::digits10 +1 +1) // digits10+1, and +1 for sign. in BOOST_AUTO_TEST_CASE()
|
/third_party/boost/boost/detail/ |
D | lcast_precision.hpp | 68 limits::radix == 10 && limits::digits10 > 0 75 BOOST_STATIC_CONSTANT(unsigned int, precision_dec = limits::digits10 + 1U); 87 precision_bin > limits::digits10 + 0UL && 125 limits::radix == 10 && limits::digits10 > 0; in lcast_get_precision() 140 precision > limits::digits10 + 0UL && in lcast_get_precision() 148 unsigned int const precision = limits::digits10 + 1U; in lcast_get_precision()
|
/third_party/boost/boost/math/special_functions/ |
D | hypergeometric_pFq.hpp | 108 …Real hypergeometric_pFq_precision(const Seq& aj, const Seq& bj, Real z, unsigned digits10, double … in hypergeometric_pFq_precision() argument 110 unsigned current_precision = digits10 + 5; in hypergeometric_pFq_precision() 157 if (precision_obtained < digits10) in hypergeometric_pFq_precision() 159 current_precision += digits10 - precision_obtained + 5; in hypergeometric_pFq_precision() 180 …ric_pFq_precision(const Seq& aj, const Seq& bj, const Real& z, unsigned digits10, double timeout =… in hypergeometric_pFq_precision() argument 182 …return hypergeometric_pFq_precision(aj, bj, z, digits10, timeout, boost::math::policies::policy<>(… in hypergeometric_pFq_precision() 186 …al>& aj, const std::initializer_list<Real>& bj, const Real& z, unsigned digits10, double timeout, … in hypergeometric_pFq_precision() argument 188 …ypergeometric_pFq_precision< std::initializer_list<Real>, Real>(aj, bj, z, digits10, timeout, pol); in hypergeometric_pFq_precision() 191 …al>& aj, const std::initializer_list<Real>& bj, const Real& z, unsigned digits10, double timeout =… in hypergeometric_pFq_precision() argument 193 …rgeometric_pFq_precision< std::initializer_list<Real>, Real>(aj, bj, z, digits10, timeout, boost::… in hypergeometric_pFq_precision()
|
/third_party/boost/libs/math/example/ |
D | bernoulli_example.cpp | 46 << std::setprecision(std::numeric_limits<double>::digits10) in main() 57 << std::setprecision(std::numeric_limits<boost::multiprecision::cpp_dec_float_50>::digits10) in main() 72 std::cout << std::setprecision(std::numeric_limits<float>::digits10) in main() 94 << std::setprecision(std::numeric_limits<float>::digits10) in main() 130 std::cout << std::setprecision(std::numeric_limits<float>::digits10) in main()
|
D | cstdfloat_example.cpp | 118 << std::numeric_limits<long double>::digits10 << std::endl; // 18 in main() 122 std::cout.precision(std::numeric_limits<long double>::digits10); in main() 144 std::cout.precision(std::numeric_limits<boost::floatmax_t>::digits10); in main() 161 << std::numeric_limits<boost::float32_t>::digits10 << std::endl; in main() 171 << std::numeric_limits<boost::float64_t>::digits10 << std::endl; in main() 181 << std::numeric_limits<boost::float80_t>::digits10 << std::endl; in main() 191 << std::numeric_limits<boost::float128_t>::digits10 << std::endl; in main() 259 << std::numeric_limits<boost::floatmax_t>::digits10 << " decimal digits\n" // 34 in main()
|
D | lambert_w_precision_example.cpp | 75 std::cout.precision(std::numeric_limits<cpp_bin_float_50>::digits10); in main() 215 …pp_bin_float_quad>::digits10 = " << std::numeric_limits<cpp_bin_float_quad>::digits10 << std::endl; in main() 226 std::cout.precision(std::numeric_limits<cpp_dec_float_50>::digits10); in main() 234 …std::cout.precision(std::numeric_limits<cpp_bin_float_quad>::digits10); // 1.745528002740699383074… in main() 235 …) cpp_dec_float_50 cast to quad (digits10(" << std::numeric_limits<cpp_bin_float_quad>::digits10 << in main() 237 std::cout.precision(std::numeric_limits<cpp_bin_float_quad>::digits10 + 1); // in main() 239 …) cpp_dec_float_50 cast to quad (digits10(" << std::numeric_limits<cpp_bin_float_quad>::digits10 << in main()
|
D | policy_ref_snip9.cpp | 19 using boost::math::policies::digits10; 21 typedef policy<digits10<5> > my_pol_5; // Define a new, non-default, policy
|
D | brent_minimise_example.cpp | 208 std::streamsize precision_1 = std::cout.precision(std::numeric_limits<double>::digits10); in main() 315 …std::streamsize precision_t1 = std::cout.precision(std::numeric_limits<long double>::digits10); //… in main() 377 std::cout.precision(std::numeric_limits<cpp_bin_float_50>::digits10); in main() 427 std::cout.precision(std::numeric_limits<cpp_bin_float_50_et_on>::digits10); in main() 451 std::cout.precision(std::numeric_limits<cpp_bin_float_50_et_off>::digits10); in main() 470 std::cout.precision(std::numeric_limits<cpp_dec_float_50>::digits10); in main() 490 std::cout.precision(std::numeric_limits<cpp_dec_float_50_et_on>::digits10); in main() 510 std::cout.precision(std::numeric_limits<cpp_dec_float_50_et_off>::digits10); in main()
|
D | test_cpp_float_close_fraction.cpp | 59 …std::cout.precision(std::numeric_limits<cpp_dec_float_50_noet>::digits10); // All significant digi… in BOOST_AUTO_TEST_CASE() 81 …std::cout.precision(std::numeric_limits<cpp_dec_float_50_et>::digits10); // All significant digits. in BOOST_AUTO_TEST_CASE()
|
D | root_finding_multiprecision_example.cpp | 152 std::cout.precision(std::numeric_limits<T>::digits10); in show_cube_root() 164 std::cout.precision(std::numeric_limits<double>::digits10); in main() 179 std::cout.precision(std::numeric_limits<cpp_dec_float_50>::digits10); in main()
|
/third_party/boost/libs/config/test/ |
D | math_info.cpp | 64 std::cout << std::setprecision(std::numeric_limits<T>::digits10+2); in print_expression() 84 …" min" "() = " << std::setprecision(std::numeric_limits<T>::digits10 + 2) << (st… in print_limits() 86 …" max" "() = " << std::setprecision(std::numeric_limits<T>::digits10 + 2) << (st… in print_limits() 90 " digits10 = " << std::numeric_limits<T>::digits10 << std::endl; in print_limits() 101 …" epsilon() = " << std::setprecision(std::numeric_limits<T>::digits10 + 2) << (std::… in print_limits() 103 …" round_error() = " << std::setprecision(std::numeric_limits<T>::digits10 + 2) << (std::… in print_limits() 125 …" infinity() = " << std::setprecision(std::numeric_limits<T>::digits10 + 2) << (std::… in print_limits() 127 …" quiet_NaN() = " << std::setprecision(std::numeric_limits<T>::digits10 + 2) << (std::… in print_limits() 129 …" signaling_NaN() = " << std::setprecision(std::numeric_limits<T>::digits10 + 2) << (std::… in print_limits() 131 …" denorm_min() = " << std::setprecision(std::numeric_limits<T>::digits10 + 2) << (std::… in print_limits()
|
/third_party/boost/libs/math/test/ |
D | std_real_concept_check.cpp | 48 static const int digits10 = 6; member 86 static const int digits10 = 15; member 124 static const int digits10 = 18; member 162 static const int digits10 = 33; member
|
D | exp_sinh_quadrature_test.cpp | 191 if (std::numeric_limits<Real>::digits10 > std::numeric_limits<long double>::digits10) in test_right_limit_infinite() 193 else if (std::numeric_limits<Real>::digits10 > std::numeric_limits<double>::digits10) in test_right_limit_infinite() 209 …BOOST_CHECK_CLOSE_FRACTION(Q, Q_expected, std::numeric_limits<Real>::digits10 > 30 ? 1000 * tol : … in test_right_limit_infinite() 265 std::cout << std::setprecision(std::numeric_limits<Real>::digits10); in test_nr_examples() 303 if (std::numeric_limits<Real>::digits10 > 40) in test_nr_examples() 313 else if (std::numeric_limits<Real>::digits10 > 40) in test_nr_examples() 331 if (std::numeric_limits<Real>::digits10 > 40) in test_nr_examples() 355 std::cout << std::setprecision(std::numeric_limits<Real>::digits10); in test_crc() 413 if (std::numeric_limits<Real>::digits10 > std::numeric_limits<double>::digits10) in test_crc() 437 if (std::numeric_limits<Real>::digits10 > std::numeric_limits<long double>::digits10) in test_crc()
|
D | test_policy_9.cpp | 29 digits10<10>(), max_series_iterations<100>(), max_root_iterations<20>()); in test() 37 constexpr double ep2 = get_epsilon<double, policy<digits10<7> > >(); in test() 82 …digits10<10>(), max_series_iterations<100>(), max_root_iterations<20>())), "This expression should… in test()
|
/third_party/boost/libs/math/test/compile_test/ |
D | std_real_concept_check.cpp | 50 static const int digits10 = 6; member 89 static const int digits10 = 15; member 128 static const int digits10 = 18; member 167 static const int digits10 = 33; member
|
/third_party/boost/boost/math/tools/ |
D | big_constant.hpp | 32 static const int digits10 = 33; member 75 …ath::tools::numeric_traits<T>::digits10 <= boost::math::tools::numeric_traits<boost::math::tools::…
|
/third_party/boost/libs/math/tools/ |
D | hypergeometric_1F1_map_neg_b_fwd_recurrence.cpp | 78 …, { mpfr_float(b + 1) }, mpfr_float(z), std::numeric_limits<test_type>::digits10 * 2, time_limit)); in main() 111 …, { mpfr_float(b + 1) }, mpfr_float(z), std::numeric_limits<test_type>::digits10 * 2, time_limit +… in main() 130 …, { mpfr_float(b - 1) }, mpfr_float(z), std::numeric_limits<test_type>::digits10 * 2, time_limit)); in main() 158 …, { mpfr_float(b + 1) }, mpfr_float(z), std::numeric_limits<test_type>::digits10 * 2, time_limit)); in main() 176 …, { mpfr_float(b - 1) }, mpfr_float(z), std::numeric_limits<test_type>::digits10 * 2, time_limit +… in main()
|
/third_party/boost/boost/math/interpolators/detail/ |
D | cubic_hermite_detail.hpp | 47 oss.precision(std::numeric_limits<Real>::digits10+3); 74 oss.precision(std::numeric_limits<Real>::digits10+3); in operator ()() 109 oss.precision(std::numeric_limits<Real>::digits10+3); in prime() 207 oss.precision(std::numeric_limits<Real>::digits10+3); in operator ()() 242 oss.precision(std::numeric_limits<Real>::digits10+3); in prime() 330 oss.precision(std::numeric_limits<Real>::digits10+3); in operator ()() 372 oss.precision(std::numeric_limits<Real>::digits10+3); in prime()
|
D | quintic_hermite_detail.hpp | 69 oss.precision(std::numeric_limits<Real>::digits10+3); in operator ()() 112 oss.precision(std::numeric_limits<Real>::digits10+3); in prime() 148 oss.precision(std::numeric_limits<Real>::digits10+3); in double_prime() 252 oss.precision(std::numeric_limits<Real>::digits10+3); in operator ()() 298 oss.precision(std::numeric_limits<Real>::digits10+3); in prime() 341 oss.precision(std::numeric_limits<Real>::digits10+3); in double_prime() 435 oss.precision(std::numeric_limits<Real>::digits10+3); in operator ()() 479 oss.precision(std::numeric_limits<Real>::digits10+3); in prime() 524 oss.precision(std::numeric_limits<Real>::digits10+3); in double_prime()
|