Lines Matching refs:mpfr_float
54 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()
183 mpfr_float beta_distribution_median_method_3(mpfr_float const& a_, mpfr_float const& b_, unsigned d… in beta_distribution_median_method_3()
185 mpfr_float guess = ibeta_inv((double)a_, (double)b_, 0.5); in beta_distribution_median_method_3()
187 mpfr_float f(0, current_digits), f1(0, current_digits), delta(1); in beta_distribution_median_method_3()
192 mpfr_float a(a_, mpfr_float::default_precision()), b(b_, mpfr_float::default_precision()); in beta_distribution_median_method_3()
193 guess.precision(mpfr_float::default_precision()); in beta_distribution_median_method_3()
222 mpfr_float a(10), b(20); in main()
224 mpfr_float true_value = beta_distribution_median_method_1(a, b, 1700); in main()
228 mpfr_float v1 = beta_distribution_median_method_1(a, b, 1500); in main()
234 mpfr_float v2 = beta_distribution_median_method_2(a, b, 1500); in main()
240 mpfr_float v3 = beta_distribution_median_method_3(a, b, 1500); in main()