Home
last modified time | relevance | path

Searched refs:mpfr_sgn (Results 1 – 15 of 15) sorted by relevance

/dragonfly/contrib/mpc/src/
H A Dsin_cos.c161 mpfr_set_inf (mpc_realref (rop_cos), mpfr_sgn (c)); in mpc_sin_cos_nonfinite()
163 (mpfr_sgn (mpc_imagref (op_loc)) == mpfr_sgn (s) ? -1 : +1)); in mpc_sin_cos_nonfinite()
372 inex_re = mpfr_sgn (sch); in mpc_sin_cos()
375 inex_im = mpfr_sgn (csh); in mpc_sin_cos()
384 inex_re = mpfr_sgn (c); in mpc_sin_cos()
387 inex_im = mpfr_sgn (s); in mpc_sin_cos()
H A Dacos.c66 if (mpfr_sgn (mpc_realref (op)) > 0) in mpc_acos()
105 if (mpfr_sgn (mpc_realref (op)) > 0) in mpc_acos()
184 rnd_im = mpfr_sgn (mpc_imagref(op)) > 0 ? GMP_RNDD : GMP_RNDU; in mpc_acos()
201 MPC_ASSERT (mpfr_sgn (mpc_imagref(z1)) * mpfr_sgn (mpc_imagref(op)) > 0); in mpc_acos()
H A Dmul.c450 sign_x = 2 * mpfr_sgn (v) - mpfr_sgn (w); in mpc_mul_karatsuba()
452 sign_x = mpfr_sgn (v) - mpfr_sgn (w); in mpc_mul_karatsuba()
454 sign_x = mpfr_sgn (v) - 2 * mpfr_sgn (w); in mpc_mul_karatsuba()
456 sign_u = mul_a * mpfr_sgn (a) * mul_c * mpfr_sgn (c); in mpc_mul_karatsuba()
518 if (mpfr_sgn (u) == 0) in mpc_mul_karatsuba()
519 rnd_u = (mpfr_sgn (x) > 0) ? GMP_RNDU : GMP_RNDD; in mpc_mul_karatsuba()
535 inexact = mpfr_sgn (u); in mpc_mul_karatsuba()
H A Ddiv.c316 tmpsgn = mpfr_sgn (mpc_realref(res)); in mpc_div()
334 tmpsgn = mpfr_sgn (mpc_imagref(res)); in mpc_div()
423 mpfr_set_inf (mpc_realref (a), mpfr_sgn (mpc_realref (res))); in mpc_div()
424 inexact_re = mpfr_sgn (mpc_realref (res)); in mpc_div()
431 mpfr_set_inf (mpc_imagref (a), mpfr_sgn (mpc_imagref (res))); in mpc_div()
432 inexact_im = mpfr_sgn (mpc_imagref (res)); in mpc_div()
H A Datan.c229 rnd1 = mpfr_sgn (mpc_realref (op)) > 0 ? GMP_RNDD : GMP_RNDU; in mpc_atan()
230 rnd2 = mpfr_sgn (mpc_realref (op)) < 0 ? GMP_RNDU : GMP_RNDD; in mpc_atan()
243 if (mpfr_sgn (a) == 0) /* y is near 1, thus 1+y is near 2, and in mpc_atan()
259 if (mpfr_sgn (a) == 0) in mpc_atan()
H A Dsqr.c275 if (mpfr_sgn (u) == 0 || mpfr_sgn (v) == 0) { in mpc_sqr()
284 rnd_away = (mpfr_sgn (u) * mpfr_sgn (v) > 0 ? GMP_RNDU : GMP_RNDD); in mpc_sqr()
H A Dtan.c211 if (mpfr_sgn (mpc_realref (x)) * mpfr_sgn (mpc_realref (y)) < 0) in mpc_tan()
218 if (mpfr_sgn (mpc_imagref (op)) > 0) in mpc_tan()
H A Dexp.c182 inex_re = mpfr_sgn (y); in mpc_exp()
183 inex_im = mpfr_sgn (z); in mpc_exp()
/dragonfly/contrib/mpfr/src/
H A Dsgn.c26 (mpfr_sgn) (mpfr_srcptr a)
H A Dmpfr.h550 __MPFR_DECLSPEC int mpfr_sgn _MPFR_PROTO ((mpfr_srcptr));
755 #define mpfr_sgn(_x) \ macro
821 (mpfr_sgn) (_f) : \
927 (mpfr_sgn (x) > 0 ? mpfr_nextabove (x) : mpfr_nextbelow (x))
929 (mpfr_sgn (x) > 0 ? mpfr_nextbelow (x) : mpfr_nextabove (x))
H A Dmpf2mpfr.h76 #define mpf_sgn mpfr_sgn
H A Dgamma.c319 sgn = mpfr_sgn (tmp); in mpfr_gamma()
/dragonfly/contrib/gcc-4.7/gcc/
H A Drealmpfr.c70 if (mpfr_sgn (m) < 0) in real_from_mpfr()
/dragonfly/contrib/gcc-8.0/gcc/
H A Drealmpfr.c72 if (mpfr_sgn (m) < 0) in real_from_mpfr()
/dragonfly/contrib/mpfr/doc/
H A Dmpfr.info1484 -- Macro: int mpfr_sgn (mpfr_t OP)
4120 * mpfr_sgn: Comparison Functions.