| /src/external/lgpl3/mpfr/dist/src/ |
| set_si.c | 0 /* mpfr_set_si -- set a MPFR number from a machine signed integer 25 #undef mpfr_set_si macro 27 mpfr_set_si (mpfr_ptr x, long i, mpfr_rnd_t rnd_mode) function
|
| coth.c | 34 #define ACTION_INF(y) return mpfr_set_si (y, MPFR_IS_POS(x) ? 1 : -1, rnd_mode)
|
| /src/external/lgpl3/mpfr/dist/tests/ |
| ttotal_order.c | 87 mpfr_set_si (x[3], -3, MPFR_RNDN); 88 mpfr_set_si (x[4], -2, MPFR_RNDN); 89 mpfr_set_si (x[5], -1, MPFR_RNDN); 92 mpfr_set_si (x[8], 1, MPFR_RNDN); 93 mpfr_set_si (x[9], 2, MPFR_RNDN); 94 mpfr_set_si (x[10], 3, MPFR_RNDN);
|
| tlog2.c | 59 mpfr_set_si (x, -1, MPFR_RNDN); 63 mpfr_set_si (x, 1, MPFR_RNDN);
|
| tatan2u.c | 87 mpfr_set_si (x, -1, MPFR_RNDN); 142 mpfr_set_si (y, -1, MPFR_RNDN); 194 mpfr_set_si (y, -1, MPFR_RNDN); 215 mpfr_set_si (y, -1, MPFR_RNDN); 235 mpfr_set_si (x, -1, MPFR_RNDN); 344 mpfr_set_si (y, -1, MPFR_RNDN); /* exact */ 362 mpfr_set_si (x, -1, MPFR_RNDN); /* exact */ 381 mpfr_set_si (x, -1, MPFR_RNDN); /* exact */ 382 mpfr_set_si (y, -1, MPFR_RNDN); /* exact */ 429 mpfr_set_si (x, -17, MPFR_RNDN) [all...] |
| tset_si.c | 1 /* Test file for mpfr_set_si, mpfr_set_ui, mpfr_get_si and mpfr_get_ui. 120 inex1 = mpfr_set_si (y, j, MPFR_RNDN); 246 mpfr_set_si (p++, 0, (mpfr_rnd_t) r++); 249 printf ("Error in mpfr_set_si macro: p - x[0] = %d (expecting 1), " 361 mpfr_set_si (x, ts[i], MPFR_RNDN) : 486 inex = mpfr_set_si (x, z, MPFR_RNDZ); 490 printf ("Error in mpfr_set_si: expected %ld got %ld\n", z, d); 495 printf ("Error in mpfr_set_si: inex value incorrect for %ld: %d\n", 520 if (mpfr_set_si (x, 5, MPFR_RNDZ) >= 0) 527 if (mpfr_set_si (x, -5, MPFR_RNDZ) <= 0 [all...] |
| tasinu.c | 120 mpfr_set_si (x, -2, MPFR_RNDN); 136 mpfr_set_si (x, -2, MPFR_RNDN); 147 mpfr_set_si (x, 1, MPFR_RNDN); /* exact */ 161 mpfr_set_si (x, -1, MPFR_RNDN); /* exact */
|
| tj0.c | 98 mpfr_set_si (x, -1, MPFR_RNDN); 110 mpfr_set_si (x, 70000, MPFR_RNDN); 116 mpfr_set_si (x, -100, MPFR_RNDN); 135 mpfr_set_si (x, 2, MPFR_RNDN);
|
| tgamma_inc.c | 141 mpfr_set_si (a, -1, MPFR_RNDN); 147 mpfr_set_si (a, -2, MPFR_RNDN); 164 mpfr_set_si (x, -1, MPFR_RNDN); 175 mpfr_set_si (x, -1, MPFR_RNDN); 223 mpfr_set_si (a, -1, MPFR_RNDN); 237 mpfr_set_si (a, -2, MPFR_RNDN); 251 mpfr_set_si (a, -3, MPFR_RNDN); 265 mpfr_set_si (a, -100, MPFR_RNDN); 303 mpfr_set_si (a, -i, MPFR_RNDN); 341 mpfr_set_si (a, -256, MPFR_RNDN) [all...] |
| tfits.c | 175 CHECK_LIM (30, LONG_MAX, mpfr_set_si, mpfr_fits_slong_p); 176 CHECK_LIM (35, LONG_MIN, mpfr_set_si, mpfr_fits_slong_p); 178 CHECK_LIM (50, INT_MAX, mpfr_set_si, mpfr_fits_sint_p); 179 CHECK_LIM (55, INT_MIN, mpfr_set_si, mpfr_fits_sint_p); 181 CHECK_LIM (70, SHRT_MAX, mpfr_set_si, mpfr_fits_sshort_p); 182 CHECK_LIM (75, SHRT_MIN, mpfr_set_si, mpfr_fits_sshort_p);
|
| tpowr.c | 46 mpfr_set_si (y, -17, MPFR_RNDN); 56 mpfr_set_si (y, -42, MPFR_RNDN); 103 mpfr_set_si (x, -1, MPFR_RNDN); 104 mpfr_set_si (y, 1, MPFR_RNDN); 188 mpfr_set_si (y, 17, MPFR_RNDN); 192 mpfr_set_si (y, -17, MPFR_RNDN);
|
| tjn.c | 37 mpfr_set_si (x, 73333, MPFR_RNDN); 39 mpfr_set_si (x, 733333, MPFR_RNDN); 118 mpfr_set_si (x, -1, MPFR_RNDN); 173 mpfr_set_si (x, -1, MPFR_RNDN); 184 mpfr_set_si (x, -1, MPFR_RNDN); 287 mpfr_set_si (x, -17, MPFR_RNDN); 309 mpfr_set_si (x, -17, MPFR_RNDN);
|
| tacosu.c | 89 mpfr_set_si (x, -2, MPFR_RNDN); 106 mpfr_set_si (x, -2, MPFR_RNDN); 136 mpfr_set_si (x, -1, MPFR_RNDN); /* exact */
|
| tcopysign.c | 127 mpfr_set_si (x, i ? -1250 : 1250, MPFR_RNDN); 140 mpfr_set_si (x, i ? -1250 : 1250, MPFR_RNDN); 141 mpfr_set_si (y, j ? -1717 : 1717, MPFR_RNDN);
|
| tacos.c | 128 mpfr_set_si (x, -2, MPFR_RNDN); 163 mpfr_set_si (x, -1, MPFR_RNDN); /* exact */
|
| tlog10p1.c | 66 mpfr_set_si (x, -1, MPFR_RNDN); 72 mpfr_set_si (x, -2, MPFR_RNDN);
|
| tlog1p.c | 89 mpfr_set_si (x, -1, MPFR_RNDN); 95 mpfr_set_si (x, -2, MPFR_RNDN);
|
| tlog2p1.c | 66 mpfr_set_si (x, -1, MPFR_RNDN); 72 mpfr_set_si (x, -2, MPFR_RNDN);
|
| tremquo.c | 34 mpfr_set_si (x, -1, MPFR_RNDN); 189 mpfr_set_si (x, -42, MPFR_RNDN); 198 mpfr_set_si (x, -42, MPFR_RNDN); 199 mpfr_set_si (y, -17, MPFR_RNDN); 208 mpfr_set_si (y, -17, MPFR_RNDN); 226 mpfr_set_si (x, -43, MPFR_RNDN); 235 mpfr_set_si (x, -43, MPFR_RNDN); 236 mpfr_set_si (y, -17, MPFR_RNDN); 245 mpfr_set_si (y, -17, MPFR_RNDN); 387 mpfr_set_si (x, -1, MPFR_RNDN) [all...] |
| tcosu.c | 114 mpfr_set_si (x, -1, MPFR_RNDN); 120 mpfr_set_si (x, -2, MPFR_RNDN); 125 mpfr_set_si (x, -3, MPFR_RNDN); 131 mpfr_set_si (x, -4, MPFR_RNDN);
|
| tsinu.c | 108 mpfr_set_si (x, -1, MPFR_RNDN); 113 mpfr_set_si (x, -2, MPFR_RNDN); 119 mpfr_set_si (x, -3, MPFR_RNDN); 124 mpfr_set_si (x, -4, MPFR_RNDN);
|
| ttanu.c | 115 mpfr_set_si (x, -4 * n - 1, MPFR_RNDN); 123 mpfr_set_si (x, -4 * n - 2, MPFR_RNDN); 131 mpfr_set_si (x, -4 * n - 3, MPFR_RNDN); 139 mpfr_set_si (x, -4 * n - 4, MPFR_RNDN);
|
| ty0.c | 76 mpfr_set_si (x, -1, MPFR_RNDN);
|
| ty1.c | 76 mpfr_set_si (x, -1, MPFR_RNDN);
|
| /src/external/lgpl3/mpc/dist/tests/ |
| tatan.c | 33 mpfr_set_si (mpc_realref(z), -1, MPFR_RNDZ);
|