| /src/external/lgpl3/mpfr/dist/src/ |
| print_rnd_mode.c | 44 case MPFR_RNDA: 45 return "MPFR_RNDA";
|
| round_prec.c | 206 rnd1 = MPFR_IS_LIKE_RNDZ(rnd1, neg) ? MPFR_RNDZ : MPFR_RNDA; 210 rnd1 == MPFR_RNDA); 218 rnd2 = MPFR_IS_LIKE_RNDZ(rnd1, neg) ? MPFR_RNDA : MPFR_RNDZ; 223 if (mpfr_round_raw2 (bp, bn, neg, MPFR_RNDA, prec) == 0) 228 rnd2 = MPFR_IS_LIKE_RNDZ(rnd2, neg) ? MPFR_RNDZ : MPFR_RNDA; 232 rnd2 == MPFR_RNDA); 242 (rnd1 == MPFR_RNDA || 255 * MPFR_RNDA: L = b-c, U = b 302 if ((rnd2 == MPFR_RNDZ || rnd2 == MPFR_RNDA) && rnd1 != rnd2) 338 mpfr_round_raw2 (bp, bn, neg, MPFR_RNDA, prec + 1) == 0 [all...] |
| asinu.c | 116 mpfr_asin (tmp, x, MPFR_RNDA); 120 mpfr_mul_ui (tmp, tmp, u, MPFR_RNDA); 125 mpfr_div (tmp, tmp, pi, MPFR_RNDA); 138 mpfr_div_2ui (tmp, tmp, 1, MPFR_RNDA); /* exact */
|
| atanu.c | 141 mpfr_atan (tmp, x, MPFR_RNDA); 145 mpfr_mul_ui (tmp, tmp, u, MPFR_RNDA); 150 mpfr_div (tmp, tmp, pi, MPFR_RNDA); 163 mpfr_div_2ui (tmp, tmp, 1, MPFR_RNDA); /* exact */
|
| csc.c | 55 if (rnd_mode == MPFR_RNDA) \
|
| csch.c | 58 if (rnd_mode == MPFR_RNDA) \
|
| fits_s.h | 88 mpfr_set (x, f, (rnd == MPFR_RNDF) ? MPFR_RNDA : rnd);
|
| tanu.c | 124 mpfr_mul (t, t, xp, MPFR_RNDA); /* t = 2*pi*x * (1 + theta2)^2 where 138 /* emulate mpfr_div_ui (t, t, u, MPFR_RNDA) above, so that t is rounded 147 mpfr_tan (t, t, MPFR_RNDA); 178 inexact = mpfr_div_ui (t, xp, u, MPFR_RNDA); 179 mpfr_mul_2ui (t, t, 3, MPFR_RNDA);
|
| sinu.c | 142 mpfr_sin (t, t, MPFR_RNDA); 162 inexact = mpfr_div_ui (t, xp, u, MPFR_RNDA); 163 mpfr_mul_2ui (t, t, 2, MPFR_RNDA);
|
| cot.c | 70 if (rnd_mode == MPFR_RNDA) \
|
| coth.c | 72 if (rnd_mode == MPFR_RNDA) \
|
| fits_intmax.c | 89 mpfr_set (x, f, (rnd == MPFR_RNDF) ? MPFR_RNDA : rnd);
|
| urandom.c | 124 if (rnd_mode == MPFR_RNDU || rnd_mode == MPFR_RNDA
|
| get_flt.c | 52 if (MPFR_UNLIKELY(rnd_mode == MPFR_RNDA))
|
| /src/external/lgpl3/mpfr/dist/tests/ |
| tcan_round.c | 53 s1 = (t[i] > 0) ? MPFR_RNDZ : MPFR_RNDA; 55 s1 = (t[i] < 0) ? MPFR_RNDZ : MPFR_RNDA; 59 s2 = (t[i] > 0) ? MPFR_RNDZ : MPFR_RNDA; 61 s2 = (t[i] < 0) ? MPFR_RNDZ : MPFR_RNDA; 74 if ((s1 == MPFR_RNDZ && s2 == MPFR_RNDA) || 75 (s1 == MPFR_RNDA && s2 == MPFR_RNDZ) || 77 (s1 == MPFR_RNDN && s2 == MPFR_RNDA)) 144 MPFR_RNDZ, MPFR_RNDA, p); 157 MPFR_RNDA, MPFR_RNDZ, p); 159 MPFR_RNDA, MPFR_RNDF, p) [all...] |
| tdigamma.c | 79 mpfr_digamma (y[i], x, MPFR_RNDA); 80 mpfr_set (z, y[1], MPFR_RNDA);
|
| taway.c | 121 inexa = testfunc (res1, ref2, ref3, MPFR_RNDA); 176 inexa = testfunc (res, op1, op2, op3, MPFR_RNDA); 224 inexa = testfunc (res1, ref2, ref3, MPFR_RNDA); 267 inexa = testfunc (res1, ref2, ref3, MPFR_RNDA); 308 inexa = testfunc (res1, ref2, MPFR_RNDA); 352 inexa = testfunc (res1, res2, ref3, MPFR_RNDA);
|
| tget_flt.c | 258 f = mpfr_get_flt (x, MPFR_RNDA); 306 f = mpfr_get_flt (x, MPFR_RNDA); 349 f = mpfr_get_flt (x, MPFR_RNDA); 411 f = mpfr_get_flt (x, MPFR_RNDA); 437 f = mpfr_get_flt (x, MPFR_RNDA); 482 f = mpfr_get_flt (x, MPFR_RNDA);
|
| tai.c | 108 inex = mpfr_ai (y, x, MPFR_RNDA); 121 inex = mpfr_ai (y, x, MPFR_RNDA);
|
| tcoth.c | 158 mpfr_set_si (y, (i < 0 && (rnd == MPFR_RNDD || rnd == MPFR_RNDA)) || 159 (i > 0 && (rnd == MPFR_RNDU || rnd == MPFR_RNDA))
|
| /src/external/lgpl3/mpc/dist/src/ |
| sqrt.c | 180 else if (rnd_t == MPFR_RNDA) 192 else if (rnd_t == MPFR_RNDA) 200 else if (rnd_t == MPFR_RNDA) 300 if (rnd_w == MPFR_RNDU || rnd_w == MPFR_RNDA) { 308 if (rnd_w == MPFR_RNDU || rnd_w == MPFR_RNDA) { 316 if (rnd_w == MPFR_RNDU || rnd_w == MPFR_RNDA) {
|
| mpc.h | 83 #define MPC_RNDNA MPC_RND (MPFR_RNDN,MPFR_RNDA) 89 #define MPC_RNDZA MPC_RND (MPFR_RNDZ,MPFR_RNDA) 95 #define MPC_RNDUA MPC_RND (MPFR_RNDU,MPFR_RNDA) 101 #define MPC_RNDDA MPC_RND (MPFR_RNDD,MPFR_RNDA) 103 #define MPC_RNDAN MPC_RND (MPFR_RNDA,MPFR_RNDN) 104 #define MPC_RNDAZ MPC_RND (MPFR_RNDA,MPFR_RNDZ) 105 #define MPC_RNDAU MPC_RND (MPFR_RNDA,MPFR_RNDU) 106 #define MPC_RNDAD MPC_RND (MPFR_RNDA,MPFR_RNDD) 107 #define MPC_RNDAA MPC_RND (MPFR_RNDA,MPFR_RNDA) [all...] |
| atan.c | 170 inex_im = mpfr_ui_div (y, 1, mpc_imagref (op), MPFR_RNDA); 191 inex_im |= mpfr_atanh (y, y, MPFR_RNDA); 204 || mpfr_can_round (y, p - err, MPFR_RNDA, MPFR_RNDZ, 347 mpfr_add_ui (a, mpc_imagref (op), 1, MPFR_RNDA);
|
| sqr.c | 269 inexact = mpfr_add (u, x, mpc_imagref (op), MPFR_RNDA) 270 | mpfr_sub (v, x, mpc_imagref (op), MPFR_RNDA); 282 inexact |= mpfr_mul (u, u, v, MPFR_RNDA); /* error 5 */ 290 MPFR_RNDA, MPFR_RNDZ,
|
| /src/external/lgpl3/mpc/dist/tests/ |
| rounding.c | 39 return MPFR_RNDA; 52 || curr == MPFR_RNDA)
|