Home
last modified time | relevance | path

Searched refs:mpfr_float (Results 1 – 25 of 31) sorted by relevance

12

/third_party/boost/libs/multiprecision/example/
Dmpfr_precision.cpp54 using boost::multiprecision::mpfr_float;
93 scoped_precision(unsigned new_p) : p(mpfr_float::default_precision()) in scoped_precision()
95 mpfr_float::default_precision(new_p); in scoped_precision()
99 mpfr_float::default_precision(p); in ~scoped_precision()
116 mpfr_float beta_distribution_median_method_1(mpfr_float const& a_, mpfr_float const& b_, unsigned d… 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 mpfr_float beta_distribution_median_method_2(mpfr_float const& a_, mpfr_float const& b_, unsigned d… in beta_distribution_median_method_2()
146 mpfr_float half(0.5), a(a_, digits10), b(b_, digits10); in beta_distribution_median_method_2()
147 mpfr_float guess = ibeta_inv((double)a, (double)b, 0.5); in beta_distribution_median_method_2()
149 mpfr_float f, f1; in beta_distribution_median_method_2()
[all …]
Dmpfr_snips.cpp16 mpfr_float a = 2; in main()
17 mpfr_float::default_precision(1000); in main()
18 std::cout << mpfr_float::default_precision() << std::endl; in main()
/third_party/boost/libs/multiprecision/test/
Dtest_mpfr_mpc_precisions.cpp33 mpfr_float::default_precision(100); in main()
34 mpfr_float a("0.1"); in main()
36 mpfr_float::default_precision(20); in main()
39 mpfr_float b(2); in main()
47 mpfr_float b(2); in main()
53 mpfr_float::default_precision(20); in main()
56 mpfr_float b(a); in main()
62 mpfr_float b(make_rvalue_copy(a)); in main()
108 mpfr_float f150(mpfr_float(), 150u); in main()
112 mpc_complex f150cc(mpfr_float(), mpfr_float(), 150u); in main()
[all …]
Dtest_mpfr_conversions.cpp41 BOOST_TEST(mpfr_float(mpf) == 2); in main()
43 BOOST_TEST(mpfr_float(mpz) == 2); in main()
45 BOOST_TEST(mpfr_float(mpq) == 2); in main()
47 BOOST_TEST(mpfr_float(mpfr) == 2); in main()
50 mpfr_float f0; in main()
81 BOOST_TEST(mpfr_float(f50) == 4); in main()
96 BOOST_TEST(mpfr_float(iz) == 2); in main()
98 BOOST_TEST(mpfr_float(rat) == 2); in main()
100 BOOST_TEST(mpfr_float(gf) == 2); in main()
106 mpfr_float::default_precision(30); in main()
[all …]
Dtest_nothrow_mpfr.cpp20 BOOST_STATIC_ASSERT(boost::is_nothrow_move_constructible<boost::multiprecision::mpfr_float>::value);
29 BOOST_STATIC_ASSERT(boost::is_nothrow_move_assignable<boost::multiprecision::mpfr_float>::value);
Dtest_eigen_interop_mpfr_3.cpp13 test_float_type_3<boost::multiprecision::mpfr_float>(); in main()
Dtest_eigen_interop_mpfr_2.cpp13 test_float_type_2<boost::multiprecision::mpfr_float>(); in main()
Dtest_eigen_interop_mpfr_1.cpp13 test_float_type<boost::multiprecision::mpfr_float>(); in main()
Dtest_arithmetic_mpfr.cpp22 test<boost::multiprecision::mpfr_float>(); in main()
Dgit_issue_98.cpp43 void f(boost::multiprecision::mpfr_float);
Dtest_move.cpp162 mpfr_float d, e; in main()
178 test_move_and_assign<mpfr_float>(); in main()
/third_party/boost/libs/math/tools/
Dhypergeometric_1F1_map_neg_b_fwd_recurrence.cpp27 using boost::multiprecision::mpfr_float;
78mpfr_float(a) }, { mpfr_float(b) }, mpfr_float(z), 50, time_limit) / boost::math::hypergeometric_p… in main()
111mpfr_float(a) }, { mpfr_float(b) }, mpfr_float(z), 50, time_limit + 20) / boost::math::hypergeomet… in main()
130mpfr_float(a) }, { mpfr_float(b) }, mpfr_float(z), 50, time_limit) / boost::math::hypergeometric_p… in main()
158mpfr_float(a) }, { mpfr_float(b) }, mpfr_float(z), 50, time_limit) / boost::math::hypergeometric_p… in main()
176mpfr_float(a) }, { mpfr_float(b) }, mpfr_float(z), 50, time_limit + 20) / boost::math::hypergeomet… in main()
Dhypergeometric_1F1_error_plot.cpp27 using boost::multiprecision::mpfr_float;
54 void print_row(double a, double b, double z, mpfr_float result, std::ostream& os = std::cout) in print_row()
126 mpfr_float mp_expected; in main()
129 …pected = boost::math::hypergeometric_pFq_precision({ mpfr_float(a) }, { mpfr_float(b) }, mpfr_floa… in main()
137 print_row(a, b, z, mpfr_float(0), tee_log); in main()
Dhyp_1f1_reg_big_data.cpp33 …t)boost::math::hypergeometric_pFq_precision({ mpfr_float(a1) }, { mpfr_float(mpfr_float(a2)) }, mp… in operator ()()
Dhyp_1f1_log_big_data.cpp33 …log(abs(boost::math::hypergeometric_pFq_precision({ mpfr_float(a1) }, { mpfr_float(a2) }, mpfr_flo… in operator ()()
/third_party/boost/libs/multiprecision/performance/
Dperformance_test-msvc-10.log839 mpfr_float 50 + 0.0624318
840 mpfr_float 50 - 0.0764497
841 mpfr_float 50 * 0.342248
842 mpfr_float 50 / 1.69721
843 mpfr_float 50 str 0.0289013
844 mpfr_float 50 +(int)0.121683
845 mpfr_float 50 -(int)0.149605
846 mpfr_float 50 *(int)0.1548
847 mpfr_float 50 /(int)0.213367
848 mpfr_float 50 construct0.214552
[all …]
Dperformance_test.log862 mpfr_float 50 + 0.00990649
863 mpfr_float 50 - 0.0131639
864 mpfr_float 50 * 0.00985486
865 mpfr_float 50 / 0.196689
866 mpfr_float 50 str 0.00126221
867 mpfr_float 50 +(int) 0.0325694
868 mpfr_float 50 -(int) 0.0407359
869 mpfr_float 50 *(int) 0.0218488
870 mpfr_float 50 /(int) 0.0264314
871 mpfr_float 50 construct 0.0838087
[all …]
Dperformance_test-gcc-linux.log447 mpfr_float 50 + 0.019179
448 mpfr_float 50 - 0.0225632
449 mpfr_float 50 * 0.0588765
450 mpfr_float 50 / 0.317276
451 mpfr_float 50 str 0.00725414
452 mpfr_float 50 +(int)0.0286079
453 mpfr_float 50 -(int)0.0465151
454 mpfr_float 50 *(int)0.0362579
455 mpfr_float 50 /(int)0.0888645
456 mpfr_float 100 + 0.0210236
[all …]
/third_party/boost/libs/multiprecision/test/math/
Dsetup.hpp76mpfr_float::default_precision(20); …
77 …test(mpfr_float(), "number<mpfr_float_backend<0> > (20-digit precision)"); …
78mpfr_float::default_precision(35); …
79 test(mpfr_float(), "number<mpfr_float_backend<0> > (35-digit precision)");
84 typedef boost::multiprecision::mpfr_float test_type_4;
/third_party/boost/libs/multiprecision/test/include_test/
Dmpfr_include_test.cpp12 mpfr_float a; in main()
/third_party/boost/libs/math/minimax/
Dmultiprecision.hpp169 typedef boost::multiprecision::mpfr_float mp_type;
173 …boost::multiprecision::mpfr_float::default_precision(boost::multiprecision::detail::digits2_2_10(n… in set_working_precision()
/third_party/boost/boost/multiprecision/
Deigen.hpp108 …mpc_complex_backend<D>, boost::multiprecision::et_on>, boost::multiprecision::mpfr_float, BinaryOp>
114 …struct ScalarBinaryOpTraits<boost::multiprecision::mpfr_float, boost::multiprecision::mpc_complex,…
Dmpfr.hpp1622 typedef number<mpfr_float_backend<0> > mpfr_float; typedef
1649 inline int digits<boost::multiprecision::mpfr_float>() in digits()
1654 …return multiprecision::detail::digits10_2_2(boost::multiprecision::mpfr_float::default_precision()… in digits()
1662 …return multiprecision::detail::digits10_2_2(boost::multiprecision::mpfr_float::default_precision()… in digits()
1666 inline boost::multiprecision::mpfr_float
1667 max_value<boost::multiprecision::mpfr_float>() in max_value()
1669 boost::multiprecision::mpfr_float result(0.5); in max_value()
1676 inline boost::multiprecision::mpfr_float
1677 min_value<boost::multiprecision::mpfr_float>() in min_value()
1679 boost::multiprecision::mpfr_float result(0.5); in min_value()
[all …]
/third_party/boost/libs/multiprecision/doc/html/
Dstandalone_HTML.manifest15 boost_multiprecision/tut/floats/mpfr_float.html
/third_party/boost/libs/math/test/
Dtest_pFq_precision.cpp32 typedef boost::multiprecision::mpfr_float mp_type;

12