| /src/external/lgpl3/mpfr/dist/tests/ |
| tsqr.c | 1 /* Test file for mpfr_sqr. 25 #define TEST_FUNCTION mpfr_sqr 73 intentional (to compare with mpfr_sqr) */ 75 inexact2 = mpfr_sqr (z, x, (mpfr_rnd_t) r); 95 mpfr_sqr (y, x, MPFR_RNDN); 99 mpfr_sqr (y, x, MPFR_RNDN); 103 mpfr_sqr (y, x, MPFR_RNDN); 107 mpfr_sqr (y, x, MPFR_RNDN); 115 mpfr_sqr (y, x, MPFR_RNDN); 140 mpfr_sqr (y, x, MPFR_RNDN) [all...] |
| trndna.c | 103 inex = mpfr_round_nearest_away (mpfr_sqr, y, x); 117 inex = mpfr_round_nearest_away (mpfr_sqr, y, x); 130 inex = mpfr_round_nearest_away (mpfr_sqr, y, x);
|
| terandom.c | 81 mpfr_sqr (tmp, t[i], MPFR_RNDN); 86 mpfr_sqr (tmp, av, MPFR_RNDN);
|
| tgrandom.c | 90 mpfr_sqr (tmp, t[i], MPFR_RNDN); 95 mpfr_sqr (tmp, av, MPFR_RNDN);
|
| tnrandom.c | 115 mpfr_sqr (tmp, t[i], MPFR_RNDN); 120 mpfr_sqr (tmp, av, MPFR_RNDN);
|
| /src/external/lgpl3/mpc/dist/src/ |
| norm.c | 40 return mpfr_sqr (a, mpc_imagref (b), rnd); 43 return mpfr_sqr (a, mpc_realref (b), rnd); /* Re(b) <> 0 */ 80 inexact = mpfr_sqr (u, mpc_realref(b), MPFR_RNDD); /* err <= 1 ulp in prec */ 81 inexact |= mpfr_sqr (v, mpc_imagref(b), MPFR_RNDD); /* err <= 1 ulp in prec */ 149 mpfr_sqr (u, u, MPFR_RNDN); 155 mpfr_sqr (v, v, MPFR_RNDN);
|
| sqr.c | 39 mpfr_sqr (u, a, MPFR_RNDN); 40 mpfr_sqr (v, c, MPFR_RNDN); 84 mpfr_sqr (u, a, MPFR_RNDN); 88 mpfr_sqr (v, c, MPFR_RNDN); 212 inex_re = mpfr_sqr (mpc_realref(rop), mpc_realref(op), MPC_RND_RE(rnd)); 220 inex_re = -mpfr_sqr (mpc_realref(rop), mpc_imagref(op), INV_RND (MPC_RND_RE(rnd)));
|
| atan.c | 181 mpfr_sqr (z, y, MPFR_RNDU); 348 mpfr_sqr (a, a, MPFR_RNDU); 349 mpfr_sqr (y, mpc_realref (op), MPFR_RNDU); 355 mpfr_sqr (b, b, MPFR_RNDZ); 356 /* we could write mpfr_sqr (y, mpc_realref (op), MPFR_RNDZ) but it is
|
| /src/external/lgpl3/mpfr/dist/src/ |
| pow_ui.c | 92 return mpfr_sqr (y, x, rnd); 120 inexact = mpfr_sqr (res, x, MPFR_RNDU); 127 inexact |= mpfr_sqr (res, res, MPFR_RNDU);
|
| li2.c | 58 mpfr_sqr (u, z, MPFR_RNDU); 135 mpfr_sqr (g, g, MPFR_RNDN); /* rel. error <= |(1 + theta)^3 - 1| <= 2^(2-w) */ 138 mpfr_sqr (h, h, MPFR_RNDN); /* rel. error <= 2^(2-w) */ 186 mpfr_sqr (g, g, MPFR_RNDN); /* rel. error <= |(1 + theta)^3 - 1| <= 2^(2-w) */ 189 mpfr_sqr (h, h, MPFR_RNDN); /* rel. error <= 2^(2-w) */ 286 mpfr_sqr (u, u, MPFR_RNDU); 320 mpfr_sqr (u, u, MPFR_RNDN); 367 mpfr_sqr (u, u, MPFR_RNDN); 377 mpfr_sqr (u, u, MPFR_RNDN); 385 mpfr_sqr (u, u, MPFR_RNDN) [all...] |
| erfc.c | 46 mpfr_sqr (xx, x, MPFR_RNDD); /* err <= 1 */ 75 mpfr_sqr (t, x, MPFR_RNDU); /* rel. err <= 2^(1-p) */ 100 mpfr_sqr (t, x, MPFR_RNDD); /* t <= x^2 */ 206 mpfr_sqr (u, x, MPFR_RNDZ);
|
| gammaonethird.c | 145 mpfr_sqr (tmp, tmp, MPFR_RNDN); 146 mpfr_sqr (tmp, tmp, MPFR_RNDN);
|
| asinh.c | 92 mpfr_sqr (t, x, MPFR_RNDD); /* x^2 */
|
| exp3.c | 232 mpfr_sqr (tmp, tmp, MPFR_RNDD); 259 mpfr_sqr (tmp, tmp, MPFR_RNDD); 260 mpfr_sqr (t, tmp, MPFR_RNDD); 276 mpfr_sqr (t, tmp, MPFR_RNDD);
|
| cos.c | 213 mpfr_sqr (r, xr, MPFR_RNDU); /* err <= 1 ulp */ 216 mpfr_sqr (r, x, MPFR_RNDU); /* err <= 1 ulp */ 234 mpfr_sqr (s, s, MPFR_RNDU); /* err <= 2*olderr */
|
| acos.c | 122 mpfr_sqr (tmp, x, MPFR_RNDN);
|
| acosh.c | 95 MPFR_BLOCK (flags, mpfr_sqr (t, x, MPFR_RNDD)); /* x^2 */
|
| asin.c | 107 mpfr_sqr (xp, x, MPFR_RNDN);
|
| const_pi.c | 88 mpfr_sqr (Ap, ap, MPFR_RNDN); /* 1/4 <= Ap <= 1 */
|
| ui_pow_ui.c | 76 inex_res |= mpfr_sqr (res, res, MPFR_RNDU);
|
| erf.c | 81 mpfr_sqr (l, x, MPFR_RNDU); 208 mpfr_sqr (y, x, MPFR_RNDU); /* err <= 1 ulp */
|
| atanh.c | 49 mpfr_sqr (x2, x, MPFR_RNDF); /* x2 = x^2 * (1 + theta) */
|
| hypot.c | 179 exact |= mpfr_sqr (te, te, MPFR_RNDZ);
|
| sin.c | 162 mpfr_sqr (c, c, MPFR_RNDU); /* away */
|
| tanu.c | 152 mpfr_sqr (z, t, MPFR_RNDU);
|