Home
last modified time | relevance | path

Searched refs:MPFR_SIGNBIT (Results 1 – 3 of 3) sorted by relevance

/dragonfly/contrib/mpc/src/
H A Ddiv.c28 int sign = MPFR_SIGNBIT (mpc_realref (w)); in mpc_div_zero()
47 a = (mpfr_inf_p (mpc_realref (z)) ? MPFR_SIGNBIT (mpc_realref (z)) : 0); in mpc_div_inf_fin()
48 b = (mpfr_inf_p (mpc_imagref (z)) ? MPFR_SIGNBIT (mpc_imagref (z)) : 0); in mpc_div_inf_fin()
163 int zrs = MPFR_SIGNBIT (mpc_realref (z)); in mpc_div_real()
164 int zis = MPFR_SIGNBIT (mpc_imagref (z)); in mpc_div_real()
165 int wrs = MPFR_SIGNBIT (mpc_realref (w)); in mpc_div_real()
166 int wis = MPFR_SIGNBIT (mpc_imagref (w)); in mpc_div_real()
197 int zrs = MPFR_SIGNBIT (mpc_realref (z)); in mpc_div_imag()
198 int zis = MPFR_SIGNBIT (mpc_imagref (z)); in mpc_div_imag()
199 int wrs = MPFR_SIGNBIT (mpc_realref (w)); in mpc_div_imag()
[all …]
H A Dmpc-impl.h55 #define MPFR_SIGNBIT(x) (mpfr_signbit (x) ? -1 : 1) macro
56 #define MPC_MPFR_SIGN(x) (mpfr_zero_p (x) ? 0 : MPFR_SIGNBIT (x))
84 ((f) ? MPFR_ADD_ONE_ULP (rop), MPFR_SIGNBIT (rop) : 0)
H A Dmul.c119 xrs = MPFR_SIGNBIT (mpc_realref (x)); in mul_real()
120 xis = MPFR_SIGNBIT (mpc_imagref (x)); in mul_real()
121 yrs = MPFR_SIGNBIT (mpc_realref (y)); in mul_real()
122 yis = MPFR_SIGNBIT (mpc_imagref (y)); in mul_real()
152 sign = (MPFR_SIGNBIT (mpc_realref (y)) != MPFR_SIGNBIT (mpc_imagref (x))) in mul_imag()
153 && (MPFR_SIGNBIT (mpc_imagref (y)) != MPFR_SIGNBIT (mpc_realref (x))); in mul_imag()