Lines Matching defs:ab
67 mpc_t ab;
79 mpc_init3 (ab, wpre, wpim);
82 mpc_mul (ab, a, b, MPC_RNDZZ);
83 if (mpfr_zero_p (mpc_realref(ab)) || mpfr_zero_p (mpc_imagref(ab)))
85 diffre = mpfr_get_exp (mpc_realref(ab));
86 diffim = mpfr_get_exp (mpc_imagref(ab));
87 mpc_add (ab, ab, c, MPC_RNDZZ);
88 if (mpfr_zero_p (mpc_realref(ab)) || mpfr_zero_p (mpc_imagref(ab)))
90 diffre -= mpfr_get_exp (mpc_realref(ab));
91 diffim -= mpfr_get_exp (mpc_imagref(ab));
94 okre = diffre > (mpfr_exp_t) wpre ? 0 : mpfr_can_round (mpc_realref(ab),
97 okim = diffim > (mpfr_exp_t) wpim ? 0 : mpfr_can_round (mpc_imagref(ab),
102 inex = mpc_set (r, ab, rnd);
111 mpfr_set_prec (mpc_realref(ab), wpre);
112 mpfr_set_prec (mpc_imagref(ab), wpim);
114 mpc_clear (ab);