| /src/external/lgpl3/mpfr/dist/src/ |
| set_ui.c | 29 return mpfr_set_ui_2exp (x, i, 0, rnd_mode);
|
| atanu.c | 56 return mpfr_set_ui_2exp (y, u, -2, rnd_mode); 59 inex = mpfr_set_ui_2exp (y, u, -2, MPFR_INVERT_RND (rnd_mode)); 88 return mpfr_set_ui_2exp (y, u, -3, rnd_mode); 91 inex = mpfr_set_ui_2exp (y, u, -3, MPFR_INVERT_RND(rnd_mode));
|
| acosu.c | 56 return mpfr_set_ui_2exp (y, u, -2, rnd_mode); 81 return mpfr_set_ui_2exp (y, u, -1, rnd_mode);
|
| asinu.c | 83 return mpfr_set_ui_2exp (y, u, -2, rnd_mode); 86 inexact = mpfr_set_ui_2exp (y, u, -2, MPFR_INVERT_RND(rnd_mode));
|
| const_pi.c | 73 mpfr_set_ui_2exp (B, 1, -1, MPFR_RNDN); /* B = b^2 = 1/2 */ 74 mpfr_set_ui_2exp (D, 1, -2, MPFR_RNDN); /* D = 1/4 */
|
| cmp_ui.c | 104 mpfr_set_ui_2exp (uu, i, f, MPFR_RNDZ);
|
| set_ui_2exp.c | 0 /* mpfr_set_ui_2exp -- set a MPFR number from a machine unsigned integer with 28 mpfr_set_ui_2exp (mpfr_ptr x, unsigned long i, mpfr_exp_t e, mpfr_rnd_t rnd_mode) function
|
| atan2u.c | 36 return mpfr_set_ui_2exp (z, u, e, rnd_mode); 42 inex = mpfr_set_ui_2exp (z, u, e, rnd_mode); 59 inex = mpfr_set_ui_2exp (t, u, e, MPFR_RNDZ); /* exact */ 82 mpfr_set_ui_2exp (t, u, -1, MPFR_RNDN); /* exact since prec >= ULSIZE */ 106 mpfr_set_ui_2exp (t, u, -2, MPFR_RNDN); /* exact */
|
| /src/external/lgpl3/mpc/dist/tests/ |
| tnorm.c | 33 mpfr_set_ui_2exp (mpc_realref (z), 1023, -11, MPFR_RNDN); /* exact */ 34 mpfr_set_ui_2exp (mpc_imagref (z), 1023, -11, MPFR_RNDN); /* exact */ 50 mpfr_set_ui_2exp (f, 511, -10, MPFR_RNDZ); 68 mpfr_set_ui_2exp (f, 511, -10, MPFR_RNDZ); 86 mpfr_set_ui_2exp (f, 1023, -11, MPFR_RNDZ);
|
| tatan.c | 34 mpfr_set_ui_2exp (mpc_imagref(z), 1, 20, MPFR_RNDZ);
|
| exceptions.c | 45 mpfr_set_ui_2exp (mpc_realref (z), 1, exy[n][0], MPFR_RNDN); 51 mpfr_set_ui_2exp (mpc_imagref (z), 1, exy[n][1], MPFR_RNDN);
|
| /src/external/lgpl3/mpfr/dist/examples/ |
| divworst.c | 76 for (mpfr_set_ui_2exp (x, 1, -1, MPFR_RNDN); 79 for (mpfr_set_ui_2exp (y, 1, -1, MPFR_RNDN);
|
| /src/external/lgpl3/mpfr/dist/tests/ |
| tmin_prec.c | 70 mpfr_set_ui_2exp (x, 1, i, MPFR_RNDN); 84 mpfr_set_ui_2exp (x, 1, i, MPFR_RNDN);
|
| tsqr.c | 136 mpfr_set_ui_2exp (x, 11863283, -24, MPFR_RNDN); 209 mpfr_set_ui_2exp (b, 1, mpfr_get_emax (), MPFR_RNDZ); 227 mpfr_set_ui_2exp (c, 1, mpfr_get_emax (), MPFR_RNDZ); 232 mpfr_set_ui_2exp (b, 1, mpfr_get_emax (), MPFR_RNDZ); 250 mpfr_set_ui_2exp (c, 1, mpfr_get_emax (), MPFR_RNDZ); 255 mpfr_set_ui_2exp (b, 1, mpfr_get_emax (), MPFR_RNDZ); 265 mpfr_set_ui_2exp (b, 1, mpfr_get_emin () - 1, MPFR_RNDZ); 277 mpfr_set_ui_2exp (b, 1, mpfr_get_emin () - 1, MPFR_RNDN); 311 mpfr_set_ui_2exp (b, 1, (mpfr_get_emin () - 2) / 2, MPFR_RNDN); 321 mpfr_set_ui_2exp (b, 1, mpfr_get_emin () - 1, MPFR_RNDN) [all...] |
| tacosu.c | 71 mpfr_set_ui_2exp (x, 17, -2, MPFR_RNDN); 115 mpfr_set_ui_2exp (x, 1, -1, MPFR_RNDN); 138 mpfr_set_ui_2exp (x, 17, -1, MPFR_RNDN); 151 mpfr_set_ui_2exp (x, 1, -1, MPFR_RNDN); /* exact */
|
| tadd1sp.c | 105 mpfr_set_ui_2exp (d, 1, 3 * GMP_NUMB_BITS, MPFR_RNDN); 106 mpfr_set_ui_2exp (c, 1, 2 * GMP_NUMB_BITS - 1, MPFR_RNDN); 138 mpfr_set_ui_2exp (c, 1, -p, MPFR_RNDN); 177 mpfr_set_ui_2exp (c, 1, -p-1, MPFR_RNDN); 191 mpfr_set_ui_2exp (c, 1, -GMP_NUMB_BITS-1, MPFR_RNDN); 205 mpfr_set_ui_2exp (c, 1, -GMP_NUMB_BITS-2, MPFR_RNDN); 218 mpfr_set_ui_2exp (c, 1, -2*GMP_NUMB_BITS-1, MPFR_RNDN); 231 mpfr_set_ui_2exp (b, 1, mpfr_get_emax () - 1, MPFR_RNDN); 249 mpfr_set_ui_2exp (c, 1, -2 * GMP_NUMB_BITS - 2, MPFR_RNDN); 262 mpfr_set_ui_2exp (b, 1, mpfr_get_emax () - 1, MPFR_RNDN) [all...] |
| tsub1sp.c | 62 mpfr_set_ui_2exp (b, 1, GMP_NUMB_BITS, MPFR_RNDN); 63 mpfr_set_ui_2exp (c, 1, 0, MPFR_RNDN); 73 mpfr_set_ui_2exp (c, 2, 0, MPFR_RNDN); 94 mpfr_set_ui_2exp (b, 1, 2 * GMP_NUMB_BITS, MPFR_RNDN); 95 mpfr_set_ui_2exp (c, 1, 0, MPFR_RNDN); 105 mpfr_set_ui_2exp (c, 2, 0, MPFR_RNDN); 128 mpfr_set_ui_2exp (b, 1, 3 * GMP_NUMB_BITS, MPFR_RNDN); 129 mpfr_set_ui_2exp (c, 1, 0, MPFR_RNDN); 139 mpfr_set_ui_2exp (c, 2, 0, MPFR_RNDN); 181 mpfr_set_ui_2exp (b, 1, d, MPFR_RNDN) [all...] |
| tasinu.c | 39 mpfr_set_ui_2exp (x, 1, mpfr_get_emin_min () - 1, MPFR_RNDN); 149 mpfr_set_ui_2exp (x, 17, -2, (mpfr_rnd_t) r); 176 mpfr_set_ui_2exp (x, 1, -1, MPFR_RNDN); /* exact */
|
| tcompound.c | 184 mpfr_set_ui_2exp (x, 3476878287UL, -33, MPFR_RNDN); 186 mpfr_set_ui_2exp (x, 1981447393UL, -25, MPFR_RNDN); 202 mpfr_set_ui_2exp (x, 1, -i, MPFR_RNDN); 256 mpfr_set_ui_2exp (x, 1, -1, MPFR_RNDN); /* x = 1/2 */ 262 mpfr_set_ui_2exp (y1, 1, -1072124363, MPFR_RNDN); 296 mpfr_set_ui_2exp (y1, 1, -4611686018427366846, MPFR_RNDN); 337 mpfr_set_ui_2exp (x, 1, -1, MPFR_RNDN); /* x = 1/2 */ 338 mpfr_set_ui_2exp (y1, 1, 1071805702, MPFR_RNDN);
|
| tinternals.c | 60 mpfr_set_ui_2exp (eps, 1, -32, MPFR_RNDN); 64 mpfr_set_ui_2exp (x, mx, -2, MPFR_RNDN);
|
| tset_ld.c | 317 mpfr_set_ui_2exp (x, 1, -16447, MPFR_RNDN); 461 mpfr_set_ui_2exp (mp, 1, e - 1, MPFR_RNDN); 478 mpfr_set_ui_2exp (mp, 1, e, MPFR_RNDN); 505 mpfr_set_ui_2exp (mp, 1, e, MPFR_RNDN); 608 mpfr_set_ui_2exp (x, 1, i, MPFR_RNDN); 617 mpfr_set_ui_2exp (x, 1, i, MPFR_RNDN); 626 mpfr_set_ui_2exp (x, 3, i-2, MPFR_RNDN);
|
| tget_set_d128.c | 273 mpfr_set_ui_2exp (x, 1, -20518, MPFR_RNDN); 280 mpfr_set_ui_2exp (x, 1, -20518, MPFR_RNDN); 288 mpfr_set_ui_2exp (x, 1, -20518, MPFR_RNDN); 297 mpfr_set_ui_2exp (x, 1, -20517, MPFR_RNDN); 301 mpfr_set_ui_2exp (x, 1, -20517, MPFR_RNDN); 306 mpfr_set_ui_2exp (x, 1, -20517, MPFR_RNDN); 416 mpfr_set_ui_2exp (x, 1, 20414, MPFR_RNDN); 428 mpfr_set_ui_2exp (x, 3, 20412, MPFR_RNDN); /* 3*2^20412 > 9.999...E6144 */ 439 mpfr_set_ui_2exp (x, i, 20403, MPFR_RNDN);
|
| tset_si.c | 36 mpfr_set_ui_2exp (x, 1, 0, MPFR_RNDN); 40 mpfr_set_ui_2exp (x, 1024, -10, MPFR_RNDN); 44 mpfr_set_ui_2exp (x, 1024, 10, MPFR_RNDN); 52 mpfr_set_ui_2exp (x, 0x92345678, 16, MPFR_RNDN); 65 res = mpfr_set_ui_2exp (x, 7, 10, MPFR_RNDU); 70 mpfr_set_ui_2exp (x, 17, MPFR_EMAX_MAX, MPFR_RNDN); 72 PRINT_ERROR ("mpfr_set_ui_2exp and overflow (bad result)"); 74 PRINT_ERROR ("mpfr_set_ui_2exp and overflow (overflow flag not set)"); 171 /* Test mpfr_set_ui_2exp */ 173 inex2 = mpfr_set_ui_2exp (x2, j, ep[i], (mpfr_rnd_t) rnd) [all...] |
| tsqrt.c | 609 mpfr_set_ui_2exp (u, 1, 2*n-2, MPFR_RNDN); /* u=2^(2n-2) with exp(u)=2n-1 */ 669 inex = mpfr_set_ui_2exp (u, 9 * 9, 2 * GMP_NUMB_BITS - 10, MPFR_RNDN); 675 inex = mpfr_set_ui_2exp (u, 15 * 15, 2 * GMP_NUMB_BITS - 10, MPFR_RNDN); 681 inex = mpfr_set_ui_2exp (u, 1, GMP_NUMB_BITS - 2, MPFR_RNDN); 715 mpfr_set_ui_2exp (u, 1, mpfr_get_emax () - 1, MPFR_RNDN); 734 mpfr_set_ui_2exp (u, 1, mpfr_get_emax () - 1, MPFR_RNDN); 764 mpfr_set_ui_2exp (u, 1, mpfr_get_emin () - 1, MPFR_RNDN); /* u = 2 */ 789 mpfr_set_ui_2exp (u, 1, 2 * mpfr_get_emin () - 2, MPFR_RNDN); 807 mpfr_set_ui_2exp (u, 1, 2 * mpfr_get_emin () - 2, MPFR_RNDN); 827 mpfr_set_ui_2exp (u, 1, 2 * mpfr_get_emin () - 2, MPFR_RNDN) [all...] |
| /src/external/lgpl3/mpc/dist/src/ |
| norm.c | 126 mpfr_set_ui_2exp (v, 1, emin - 1, MPFR_RNDZ); 133 mpfr_set_ui_2exp (u, 1, emin - 1, MPFR_RNDZ);
|