Searched refs:GMP_RNDU (Results 1 - 13 of 13) sorted by relevance

/netbsd-6-1-5-RELEASE/external/lgpl2/mpc/dist/src/
H A Datan.c167 rnd_away = s_im == 0 ? GMP_RNDU : GMP_RNDD;
229 rnd1 = mpfr_sgn (MPC_RE (op)) > 0 ? GMP_RNDD : GMP_RNDU;
230 rnd2 = mpfr_sgn (MPC_RE (op)) < 0 ? GMP_RNDU : GMP_RNDD;
252 mpfr_atan2 (x, MPC_RE (op), a, GMP_RNDU);
271 mpfr_sub (x, x, b, GMP_RNDU);
277 mpfr_div_2ui (x, x, 1, GMP_RNDU);
281 ok = mpfr_can_round (x, p - err, GMP_RNDU, GMP_RNDD,
308 rnd1 = mpfr_cmp_si (MPC_IM (op), -1) > 0 ? GMP_RNDU : GMP_RNDD;
319 mpfr_sqr (a, a, GMP_RNDU);
320 mpfr_sqr (y, MPC_RE (op), GMP_RNDU);
[all...]
H A Dsqrt.c50 const mpfr_rnd_t r = im_sgn ? GMP_RNDD : GMP_RNDU;
186 rnd_t = (im_cmp > 0 ? GMP_RNDD : GMP_RNDU);
202 rnd_t = GMP_RNDU;
226 ok_w = mpfr_can_round (w, prec - 2, GMP_RNDD, GMP_RNDU,
293 if (rnd_w == GMP_RNDU) {
301 if (rnd_w == GMP_RNDU) {
309 if (rnd_w == GMP_RNDU) {
334 || (im_cmp < 0 && r == GMP_RNDU))
H A Ddiv.c287 inexact_re |= mpfr_div (MPC_RE (res), MPC_RE (res), q, GMP_RNDU);
289 mpfr_can_round (MPC_RE (res), prec - 4, GMP_RNDU,
304 inexact_im |= mpfr_div (MPC_IM (res), MPC_IM (res), q, GMP_RNDU);
305 ok_im = mpfr_can_round (MPC_IM (res), prec - 4, GMP_RNDU,
321 if (mpfr_ui_div (q, 1, q, GMP_RNDU) || inexact_norm)
331 inexact_re = mpfr_mul (MPC_RE (res), MPC_RE (res), q, GMP_RNDU)
334 mpfr_can_round (MPC_RE (res), prec - 4, GMP_RNDU,
350 inexact_im = mpfr_mul (MPC_IM (res), MPC_IM (res), q, GMP_RNDU)
352 ok_im = mpfr_can_round (MPC_IM (res), prec - 4, GMP_RNDU,
H A Dmpc.h94 #define MPC_RNDNU RNDC(GMP_RNDN,GMP_RNDU)
99 #define MPC_RNDZU RNDC(GMP_RNDZ,GMP_RNDU)
102 #define MPC_RNDUN RNDC(GMP_RNDU,GMP_RNDN)
103 #define MPC_RNDUZ RNDC(GMP_RNDU,GMP_RNDZ)
104 #define MPC_RNDUU RNDC(GMP_RNDU,GMP_RNDU)
105 #define MPC_RNDUD RNDC(GMP_RNDU,GMP_RNDD)
109 #define MPC_RNDDU RNDC(GMP_RNDD,GMP_RNDU)
H A Dmpc-impl.h99 (((r) == GMP_RNDU) ? GMP_RNDD : (((r) == GMP_RNDD) ? GMP_RNDU : (r)))
H A Dacos.c185 rnd_im = mpfr_sgn (MPC_IM(op)) > 0 ? GMP_RNDD : GMP_RNDU;
187 rnd_im = rnd_im == GMP_RNDU ? GMP_RNDD
188 : rnd_im == GMP_RNDD ? GMP_RNDU
H A Dsqr.c153 inexact |= mpfr_mul (u, u, v, GMP_RNDU); /* error 5 */
172 ok = (!inexact) | mpfr_can_round (u, prec - 3, GMP_RNDU, GMP_RNDZ,
194 rnd_re == GMP_RNDU)
H A Dmul.c449 rnd_u = (sign_u > 0) ? GMP_RNDU : GMP_RNDD;
454 rnd_u = (mpfr_sgn (x) > 0) ? GMP_RNDU : GMP_RNDD;
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/dist/examples/
H A Dsample.c44 mpfr_mul_ui (t, t, i, GMP_RNDU);
H A Drndo-add.c78 mpfr_add (u, x, y, GMP_RNDU);
/netbsd-6-1-5-RELEASE/external/lgpl2/mpc/dist/tests/
H A Dread_data.c45 { "GMP_RNDN", "GMP_RNDZ", "GMP_RNDU", "GMP_RNDD" };
248 *rnd = GMP_RNDU;
399 if ((rnd == GMP_RNDU && inex == -1) ||
H A Dtgeneric.c874 return GMP_RNDU;
875 case GMP_RNDU:
892 || curr == GMP_RNDU || curr == GMP_RNDD)
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/dist/
H A Dmpfr.h108 #define GMP_RNDU MPFR_RNDU macro

Completed in 186 milliseconds