Home
last modified time | relevance | path

Searched refs:mpfr_get_exp (Results 1 – 21 of 21) sorted by relevance

/dragonfly/contrib/mpc/src/
HDasin.c160 ex = mpfr_get_exp (mpc_realref(z1)); in mpc_asin()
163 ex = ex - mpfr_get_exp (mpc_realref(z1)); in mpc_asin()
166 ex = ex + mpfr_get_exp (mpc_realref(z1)) - p; in mpc_asin()
168 ey = mpfr_get_exp (mpc_imagref(z1)) - p - 1; in mpc_asin()
173 ey = mpfr_get_exp (mpc_realref(z1)) >= mpfr_get_exp (mpc_imagref(z1)) in mpc_asin()
174 ? mpfr_get_exp (mpc_realref(z1)) : mpfr_get_exp (mpc_imagref(z1)); in mpc_asin()
180 ey = mpfr_get_exp (mpc_realref(z1)) <= mpfr_get_exp (mpc_imagref(z1)) in mpc_asin()
181 ? mpfr_get_exp (mpc_realref(z1)) : mpfr_get_exp (mpc_imagref(z1)); in mpc_asin()
187 ex = mpfr_get_exp (mpc_realref(z1)); in mpc_asin()
188 ey = mpfr_get_exp (mpc_imagref(z1)); in mpc_asin()
[all …]
HDatan.c205 op_re_exp = mpfr_get_exp (mpc_realref (op)); in mpc_atan()
206 op_im_exp = mpfr_get_exp (mpc_imagref (op)); in mpc_atan()
251 err = mpfr_get_exp (a); /* err = Exp(a) with the notations above */ in mpc_atan()
266 expo = mpfr_get_exp (a); /* expo = Exp(c) with the notations above */ in mpc_atan()
272 err = 5 + op_re_exp - err - mpfr_get_exp (x); in mpc_atan()
340 expo = MPC_MAX (mpfr_get_exp (a), mpfr_get_exp (b)); in mpc_atan()
341 expo = expo - mpfr_get_exp (y) + 1; in mpc_atan()
342 err = 3 - mpfr_get_exp (y); in mpc_atan()
HDnorm.c123 && mpfr_get_exp (u) - 2 * (mpfr_exp_t) prec_u > emin in mpc_norm()
124 && mpfr_get_exp (u) > -10) { in mpc_norm()
130 && mpfr_get_exp (v) - 2 * (mpfr_exp_t) prec_v > emin in mpc_norm()
131 && mpfr_get_exp (v) > -10) { in mpc_norm()
141 exp_re = (unsigned long int) (-mpfr_get_exp (mpc_realref (b))); in mpc_norm()
142 exp_im = (unsigned long int) (-mpfr_get_exp (mpc_imagref (b))); in mpc_norm()
HDsqr.c70 ea = mpfr_get_exp (a); in mpfr_fsss()
71 ec = mpfr_get_exp (c); in mpfr_fsss()
86 mpz_sub_ui (eu, eu, (unsigned long int) (-mpfr_get_exp (u))); in mpfr_fsss()
89 mpz_sub_ui (ev, ev, (unsigned long int) (-mpfr_get_exp (v))); in mpfr_fsss()
239 mpfr_get_exp (mpc_realref (op)) - mpfr_get_exp (mpc_imagref (op))) in mpc_sqr()
286 if (mpfr_get_exp (u) == emin || mpfr_inf_p (u)) { in mpc_sqr()
HDfma.c33 mpfr_exp_t ex = mpfr_get_exp (x); in bound_prec_addsub()
34 mpfr_exp_t ey = mpfr_get_exp (y); in bound_prec_addsub()
160 diffre = mpfr_get_exp (mpc_realref(ab)); in mpc_fma()
161 diffim = mpfr_get_exp (mpc_imagref(ab)); in mpc_fma()
165 diffre -= mpfr_get_exp (mpc_realref(ab)); in mpc_fma()
166 diffim -= mpfr_get_exp (mpc_imagref(ab)); in mpc_fma()
HDmul.c223 ea = mpfr_get_exp (a); in mpfr_fmma()
224 eb = mpfr_get_exp (b); in mpfr_fmma()
225 ec = mpfr_get_exp (c); in mpfr_fmma()
226 ed = mpfr_get_exp (d); in mpfr_fmma()
243 mpz_sub_ui (eu, eu, (unsigned long int) (-mpfr_get_exp (u))); in mpfr_fmma()
248 mpz_sub_ui (ev, ev, (unsigned long int) (-mpfr_get_exp (v))); in mpfr_fmma()
504 prec_x = SAFE_ABS (mpfr_exp_t, mpfr_get_exp (v) - mpfr_get_exp (w)) in mpc_mul_karatsuba()
629 mpfr_get_exp (mpc_realref (b)) - mpfr_get_exp (mpc_imagref (b))) in mpc_mul()
632 mpfr_get_exp (mpc_realref (c)) - mpfr_get_exp (mpc_imagref (c))) in mpc_mul()
HDpow_ui.c70 mpfr_exp_t exp_r = mpfr_get_exp (mpc_realref (x)), in mpc_pow_usi()
71 exp_i = mpfr_get_exp (mpc_imagref (x)); in mpc_pow_usi()
127 diff = mpfr_get_exp (mpc_realref(t)) - mpfr_get_exp (mpc_imagref(t)); in mpc_pow_usi()
HDlog.c142 err = MPC_MAX (-mpfr_get_exp (w), 0) + 1; in mpc_log()
178 expw = mpfr_get_exp (w); in mpc_log()
186 err = MPC_MAX (5 + mpfr_get_exp (v), in mpc_log()
188 -1 + expw - mpfr_get_exp (w) in mpc_log()
HDtan.c232 exr = mpfr_get_exp (mpc_realref (x)); in mpc_tan()
233 eyr = mpfr_get_exp (mpc_realref (y)); in mpc_tan()
234 eyi = mpfr_get_exp (mpc_imagref (y)); in mpc_tan()
254 ezr = mpfr_get_exp (mpc_realref (x)); in mpc_tan()
HDpow.c443 expo = mpfr_get_exp (y) + k; in is_odd()
669 q = mpfr_get_exp (mpc_realref(t)) > 0 ? mpfr_get_exp (mpc_realref(t)) : 0; in mpc_pow()
670 if (mpfr_get_exp (mpc_imagref(t)) > (mpfr_exp_t) q) in mpc_pow()
671 q = mpfr_get_exp (mpc_imagref(t)); in mpc_pow()
687 dr = mpfr_zero_p (mpc_realref(u)) ? mpfr_get_exp (mpc_imagref(u)) in mpc_pow()
688 : mpfr_get_exp (mpc_realref(u)); in mpc_pow()
689 di = mpfr_zero_p (mpc_imagref(u)) ? dr : mpfr_get_exp (mpc_imagref(u)); in mpc_pow()
HDexp.c136 + MPC_MAX (MPC_MAX (-mpfr_get_exp (mpc_realref (op)), 0), in mpc_exp()
137 -mpfr_get_exp (mpc_imagref (op))); in mpc_exp()
HDacos.c203 e2 = mpfr_get_exp (mpc_realref(z1)); in mpc_acos()
211 e1 -= mpfr_get_exp (mpc_realref(z1)); in mpc_acos()
/dragonfly/contrib/mpfr/src/
HDget_exp.c25 #undef mpfr_get_exp
27 mpfr_get_exp (mpfr_srcptr x) in mpfr_get_exp() function
HDdigamma.c81 exps = mpfr_get_exp (s); in mpfr_digamma_approx()
82 expu = mpfr_get_exp (u); in mpfr_digamma_approx()
86 if (mpfr_get_exp (s) < exps) in mpfr_digamma_approx()
87 e <<= exps - mpfr_get_exp (s); in mpfr_digamma_approx()
HDcos.c48 MPFR_ASSERTD(mpfr_get_exp (r) <= -1); in mpfr_cos2_aux()
76 imax = p / (-mpfr_get_exp (r)); in mpfr_cos2_aux()
HDcot.c58 if ((two2emin = mpfr_get_exp (x) == __gmpfr_emin + 1 && \
HDconst_pi.c91 cancel = mpfr_cmp_ui (S, 0) ? (mpfr_uexp_t) -mpfr_get_exp(S) : p; in mpfr_const_pi_internal()
HDmpfr.h343 __MPFR_DECLSPEC mpfr_exp_t mpfr_get_exp _MPFR_PROTO ((mpfr_srcptr));
763 #define mpfr_get_exp(_x) MPFR_VALUE_OF((_x)->_mpfr_exp) macro
HDmpfr-impl.h735 # define MPFR_GET_EXP(x) (mpfr_get_exp) (x)
/dragonfly/contrib/gcc-8.0/gcc/
HDreal.c2111 if (mpfr_zero_p (m) || mpfr_get_exp (m) < -MAX_EXP + 4) in real_from_string()
2116 else if (mpfr_get_exp (m) > MAX_EXP - 4) in real_from_string()
/dragonfly/contrib/mpfr/doc/
HDmpfr.info2302 -- Function: mpfr_exp_t mpfr_get_exp (mpfr_t X)
3875 * mpfr_get_exp: Miscellaneous Functions.