| /src/external/lgpl3/mpfr/dist/src/ |
| frexp.c | 66 int inex2; local 76 inex2 = mpfr_set_si_2exp (y, MPFR_INT_SIGN (x), -1, rnd); 77 MPFR_LOG_MSG (("inex=%d inex2=%d\n", inex, inex2)); 78 if (inex2 != 0) 79 inex = inex2;
|
| beta.c | 269 unsigned int inex2; /* unsigned due to bitwise operations */ local 272 inex2 = mpfr_gamma (tmp, z, MPFR_RNDN); 274 inex2 |= mpfr_gamma (tmp2, w, MPFR_RNDN); 276 inex2 |= mpfr_mul (tmp, tmp, tmp2, MPFR_RNDN); 278 inex2 |= mpfr_gamma (tmp2, z_plus_w, MPFR_RNDN); 280 inex2 |= mpfr_div (tmp, tmp, tmp2, MPFR_RNDN); 299 /* if inex2 = 0, then tmp is exactly beta(z,w) */ 300 if (inex2 == 0 ||
|
| set.c | 102 1. inex2 = mpfr_set (s, u, rnd_mode); 103 2. if (inex2 != 0) return inex2; else return inex; 105 middle of two consecutive PREC(s)-bit numbers, if inex and inex2 120 int inex2; local 154 inex2 = inex * MPFR_SIGN(u); 158 /* in case inex2 > 0, the value of u is rounded away, 164 if (inex2 > 0) 172 else /* inex2 <= 0 */ 176 sp[0], except possibly in the case rb = sb = 0 and inex2 > 0 * [all...] |
| subnormal.c | 120 int inexact, inex2; local 176 inex2 = mpfr_set (y, dest, rnd); 177 MPFR_ASSERTN (inex2 == 0);
|
| grandom.c | 35 int inex1, inex2, s1, s2; local 40 inex2 = inex1 = 0; 182 inex2 = mpfr_set (rop2, r2, rnd); 183 inex2 = mpfr_check_range (rop2, inex2, rnd); 201 return INEX (inex1, inex2);
|
| erf.c | 76 int ok, inex2; local 98 inex2 = mpfr_prec_round (h, MPFR_PREC(y), rnd_mode); 99 /* Caution: we also need inex=inex2 (inex might be 0). */ 100 ok = SAME_SIGN (inex, inex2) && mpfr_equal_p (l, h);
|
| exp3.c | 296 int inex2; local 301 inex2 = mpfr_mul_2si (y, y, -2, rnd_mode); 302 if (inex2) /* underflow */ 318 inexact = inex2;
|
| pow.c | 294 int inex2; local 346 inex2 = mpfr_mul_2si (z, z, lk, rnd_mode); 347 if (inex2) /* underflow or overflow */ 349 inexact = inex2; 574 int inex2; local 579 inex2 = mpfr_set_exp_t (tmp, MPFR_GET_EXP (x), MPFR_RNDN); 580 MPFR_ASSERTN (inex2 == 0); 583 inex2 = mpfr_sub_ui (tmp, tmp, 1, MPFR_RNDN); 584 MPFR_ASSERTN (inex2 == 0);
|
| yn.c | 221 int ok, inex2; local 256 inex2 = mpfr_prec_round (h, MPFR_PREC(res), r); 257 /* we need h=l and inex=inex2 */ 258 ok = (inex == inex2) && mpfr_equal_p (l, h);
|
| /src/external/lgpl3/mpc/dist/src/ |
| cmp_abs.c | 30 int inex1, inex2, ret; local 84 inex2 = mpc_norm (n2, z2, MPFR_RNDD); 90 if (inex2) /* n2 < norm(z2) */ 101 if (inex2 == 0)
|
| /src/external/lgpl3/mpfr/dist/tests/ |
| tacos.c | 32 int inex1, inex2; local 59 inex2 = mpfr_const_pi (x, MPFR_RNDN); 60 if (inex1 != inex2)
|
| tfactorial.c | 76 int inex1, inex2; local 96 inex2 = mpfr_set_z (y, f, (mpfr_rnd_t) r); 103 if ((inex1 < 0 && inex2 >= 0) || (inex1 == 0 && inex2 != 0) 104 || (inex1 > 0 && inex2 <= 0)) 108 printf ("Expected %d, got %d\n", inex2, inex1);
|
| tfrexp.c | 157 int inex1, inex2; local 182 inex2 = mpfr_frexp (&e2, y2, x, (mpfr_rnd_t) r); 203 if (! (SAME_SIGN (inex1, inex2) && 214 printf ("Expected inex ~= %d, got %d\n", inex1, inex2);
|
| thypot.c | 140 int inex1, inex2; local 149 inex2 = mpfr_mul (z1, z1, x, MPFR_RNDN); 150 MPFR_ASSERTN (inex2 == 0); 152 inex2 = mpfr_hypot (z2, x, y, MPFR_RNDN); 164 if (! SAME_SIGN (inex1, inex2)) 167 ext ? ", extended exponent range" : "", inex1, inex2); 184 int inexact, inex2, r; local 225 inex2 = mpfr_add_ui (y, x, 1, (mpfr_rnd_t) r); 226 if (! mpfr_equal_p (y, z) || ! SAME_SIGN (inexact, inex2)) 233 printf (", inex = %d\n", inex2); [all...] |
| tinternals.c | 52 int failures = 0, mx, neg, err, dir, r, inex, inex2; local 81 inex2 = ((dir ^ neg) ? mpfr_add : mpfr_sub) 83 if (inex * inex2 <= 0) 85 inex, inex2);
|
| tlog_ui.c | 29 int inex1, inex2; local 39 inex2 = mpfr_log_ui (x, n, MPFR_RNDN); 40 MPFR_ASSERTN(inex1 == inex2);
|
| tset_z_2exp.c | 143 int inex2, inex3; local 155 inex2 = mpfr_set_z_2exp (f2, z, e, rnd); 161 SAME_SIGN (inex2, inex3) && 173 printf ("with inex = %d and flags =", inex2);
|
| tzeta.c | 210 int inex1, inex2; local 222 inex2 = mpfr_zeta (y2, x, MPFR_RNDN); 226 SAME_SIGN (inex1, inex2) && 236 printf ("with inex = %d and flags =", inex2);
|
| tagm.c | 43 int inex2; local 77 inex2 = mpfr_agm (tres, ta, tb, rnd_mode); 81 if (VSIGN (inex2) != inex || newflags != expflags || 96 " ", inex2, newflags);
|
| tcompound.c | 249 int inex1, inex2; local 267 inex2 = mpfr_compound_si (y2, x, -1832808704, MPFR_RNDN); 270 SAME_SIGN (inex1, inex2) && 280 printf (" with inex = %d, flags =", inex2); 301 inex2 = mpfr_compound_si (y2, x, -7883729320669216768, MPFR_RNDN); 304 SAME_SIGN (inex1, inex2) && 314 printf (" with inex = %d, flags =", inex2); 333 int inex1, inex2; local 342 inex2 = mpfr_compound_si (y2, x, 1832263949, MPFR_RNDN); 345 SAME_SIGN (inex1, inex2) & [all...] |
| tfrac.c | 33 int inex1, inex2; local 57 inex2 = mpfr_set (fp2, fp, rnd); 58 if (inex1 != inex2) 62 printf ("\nGot %d instead of %d\n", inex1, inex2);
|
| tget_set_d128.c | 125 int inex1, inex2; local 149 inex2 = mpfr_set_decimal128 (x2, dd, (mpfr_rnd_t) rnd); 153 SAME_SIGN (inex1, inex2) && 164 printf ("with inex = %d and flags =", inex2);
|
| tget_set_d64.c | 441 int inex1, inex2; local 465 inex2 = mpfr_set_decimal64 (x2, dd, (mpfr_rnd_t) rnd); 469 SAME_SIGN (inex1, inex2) && 480 printf ("with inex = %d and flags =", inex2);
|
| tmul_2exp.c | 54 int inex1, inex2; local 89 inex2 = 96 if (flags1 == flags2 && SAME_SIGN (inex1, inex2) && 117 VSIGN (inex2), flags2); 276 int inex1, inex2; local 288 inex2 = 296 SAME_SIGN (inex1, inex2) && 310 printf (" with inex = %d, flags =", inex2);
|
| troot.c | 427 int inex1, inex2; local 436 inex2 = TF (y2, x, k, rnd); 438 if (!(mpfr_equal_p (y1, y2) && SAME_SIGN (inex1, inex2) && 451 printf ("with inex = %d, flags =", inex2);
|