Home
last modified time | relevance | path

Searched refs:mpfr_div (Results 1 – 25 of 86) sorted by relevance

1234

/netbsd-src/external/lgpl3/mpfr/dist/tests/
H A Dtdiv.c53 inex = mpfr_div (a, b, c, r); in mpfr_all_div()
628 mpfr_div (x, x, z, MPFR_RNDN); in check_inexact()
1004 inex1 = mpfr_div (z1, x, y, rnd); in consistency()
1013 inex2 = mpfr_div (z2, x, y, rnd); in consistency()
1042 mpfr_div (q, n, d, MPFR_RNDU); in test_20070603()
1060 mpfr_div (q, n, d, MPFR_RNDU); in test_20070603()
1091 inex = mpfr_div (x, x, y, MPFR_RNDD); in test_20070628()
1163 mpfr_div (q, n, d, MPFR_RNDN); in test_20151023()
1178 mpfr_div (q, n, d, MPFR_RNDN); in test_20151023()
1208 mpfr_div (q, u, v, MPFR_RNDU); /* should have q > q0 */ in test_bad_aux()
[all …]
H A Dtnrandom_chisq.c32 mpfr_div (z, x, z, rnd); in normal_cumulative()
120 mpfr_div (x, x, dx, rndd); in test_nrandom_chisq_cont()
144 mpfr_div (z, z, pa, rnd); in test_nrandom_chisq_cont()
274 mpfr_div (z, z, pa, rnd); in test_nrandom_chisq_disc()
H A Dterandom_chisq.c124 mpfr_div (x, x, dx, rndd); in test_erandom_chisq_cont()
148 mpfr_div (z, z, pa, rnd); in test_erandom_chisq_cont()
273 mpfr_div (z, z, pa, rnd); in test_erandom_chisq_disc()
H A Dtfpif.c60 mpfr_div (x[8], x[6], x[7], MPFR_RNDN); in doit()
61 mpfr_div (x[6], x[6], x[7], MPFR_RNDN); in doit()
/netbsd-src/external/lgpl3/mpc/dist/src/
H A Ddiv_fr.c32 inex_re = mpfr_div (real, mpc_realref(b), c, MPC_RND_RE(rnd)); in mpc_div_fr()
33 inex_im = mpfr_div (mpc_imagref(a), mpc_imagref(b), c, MPC_RND_IM(rnd)); in mpc_div_fr()
H A Ddiv.c169 inex_im = mpfr_div (mpc_imagref(rop), mpc_imagref(z), mpc_realref(w), MPC_RND_IM(rnd)); in mpc_div_real()
170 inex_re = mpfr_div (mpc_realref(rop), mpc_realref(z), mpc_realref(w), MPC_RND_RE(rnd)); in mpc_div_real()
206 inex_re = mpfr_div (mpc_realref(dest), mpc_imagref(z), wloc, MPC_RND_RE(rnd)); in mpc_div_imag()
209 inex_im = mpfr_div (mpc_imagref(dest), mpc_realref(z), wloc, MPC_RND_IM(rnd)); in mpc_div_imag()
381 inexact_re |= mpfr_div (mpc_realref (res), mpc_realref (res), q, MPFR_RNDZ); in mpc_div()
391 inexact_im |= mpfr_div (mpc_imagref (res), mpc_imagref (res), q, MPFR_RNDZ); in mpc_div()
H A Dlog10.c68 mpfr_div (mpc_imagref (log), mpc_imagref (log), log10, MPFR_RNDN); in mpc_log10()
84 mpfr_div (mpc_realref (log), mpc_realref (log), log10, MPFR_RNDN); in mpc_log10()
H A Dagm.c47 mpfr_div (b0, mpc_realref (b), mpc_realref (a), MPFR_RNDZ); in mpc_agm_angle_zero()
49 mpfr_div (b0, mpc_realref (a), mpc_realref (b), MPFR_RNDZ); in mpc_agm_angle_zero()
/netbsd-src/external/lgpl3/mpfr/dist/src/
H A Derf.c86 mpfr_div (l, l, h, MPFR_RNDZ); /* lower bound on 1/sqrt(Pi) (1 - x^2/3) */ in mpfr_erf()
95 mpfr_div (h, x, h, MPFR_IS_POS(x) ? MPFR_RNDU : MPFR_RNDD); in mpfr_erf()
113 mpfr_div (xf, x, __gmpfr_const_log2_RNDU, MPFR_RNDZ); /* round to zero in mpfr_erf()
241 mpfr_div (s, s, t, MPFR_RNDN); in mpfr_erf_0()
H A Dui_div.c88 inex = mpfr_div (y, uu, x, rnd_mode); in mpfr_ui_div()
96 inex = mpfr_div (y, uu, x, rnd_mode); in mpfr_ui_div()
H A Dyn.c108 mpfr_div (t, c, t, MPFR_RNDN); /* c/n! */ in mpfr_yn_s3()
241 mpfr_div (l, l, t, MPFR_RNDD); /* lower bound of (log(z/2)+euler)/Pi */ in mpfr_yn()
243 mpfr_div (h, h, t, MPFR_RNDD); /* upper bound of (log(z/2)+euler)/Pi */ in mpfr_yn()
357 mpfr_div (s1, s1, s2, MPFR_RNDN); /* (z/2)^(-n) * S1 */ in mpfr_yn()
401 mpfr_div (s2, s2, y, MPFR_RNDN); /* error bounded by in mpfr_yn()
H A Dgamma_inc.c230 mpfr_div (t, t, u, MPFR_RNDA); /* t = x^k/(a * ... * (a+k)) in mpfr_gamma_inc()
272 mpfr_div (s, s, t, MPFR_RNDZ); /* s = <exact value> * (1+theta)^(2k+5) */ in mpfr_gamma_inc()
391 mpfr_div (t, t, x, MPFR_RNDN); in mpfr_gamma_inc_negint()
473 mpfr_div (s, s, t, MPFR_RNDN); in mpfr_gamma_inc_negint()
H A Dlog.c146 mpfr_div (tmp1, __gmpfr_four, scaled_a, MPFR_RNDF); /* 4/s, err<=2 ulps */ in mpfr_log()
150 mpfr_div (tmp2, tmp1, tmp2, MPFR_RNDN); /* pi/2*AG(1,4/s), err<=5ulps */ in mpfr_log()
H A Dlog10p1.c95 mpfr_div (t, x, t, MPFR_RNDN); in mpfr_log10p1_small()
167 mpfr_div (t, t, lg10, MPFR_RNDN); in mpfr_log10p1()
H A Dgammaonethird.c154 mpfr_div (tmp, tmp, tmp2, MPFR_RNDN); in mpfr_gamma_one_third()
188 mpfr_div (y2, y2, temp, MPFR_RNDN); in mpfr_gamma_one_and_two_third()
H A Deint.c152 mpfr_div (eps, eps, erru, MPFR_RNDU); in mpfr_eint_aux()
285 mpfr_div (ump, ump, __gmpfr_const_log2_RNDU, MPFR_RNDD); in mpfr_eint()
302 mpfr_div (ump, x, __gmpfr_const_log2_RNDD, MPFR_RNDU); in mpfr_eint()
H A Datan2.c194 MPFR_BLOCK (flags, div_inex = mpfr_div (tmp, y, x, MPFR_RNDN)); in mpfr_atan2()
248 mpfr_div (tmp, y, x, MPFR_RNDN); /* Error <= ulp (tmp) */ in mpfr_atan2()
H A Derfc.c88 mpfr_div (y, y, t, MPFR_RNDN); /* the relative error on input y is bounded in mpfr_erfc_asympt()
105 mpfr_div (y, t, xx, MPFR_RNDN); /* if y is zero, this means that the upper in mpfr_erfc_asympt()
H A Ddiv_d.c46 inexact = mpfr_div (a, b, d, rnd_mode); in mpfr_div_d()
H A Dd_div.c45 inexact = mpfr_div (a, d, c, rnd_mode); in mpfr_d_div()
H A Dreldiff.c62 mpfr_div (a, a, a == b ? b_copy : b, rnd_mode); in mpfr_reldiff()
H A Dtan.c76 mpfr_div (c, s, c, MPFR_RNDN); /* err <= 4 ulps */ in mpfr_tan()
/netbsd-src/external/lgpl3/mpfr/dist/tools/bench/
H A Dmpfrbench.c66 DECLARE_TIME_2OP (mpfr_div)
85 {"div", ADDR_TIME_NOP (mpfr_div), ADDR_ACCURATE_TIME_NOP (mpfr_div), egroup_arith, 2},
/netbsd-src/external/lgpl3/mpfr/dist/examples/
H A Dsample.c46 mpfr_div (u, u, t, MPFR_RNDD); in main()
H A Ddivworst.c47 mpfr_div (t, x, y, rnd); /* the division x/y in precision p */ in eval()

1234