HomeSort by: relevance | last modified time | path
    Searched refs:eps (Results 1 - 25 of 77) sorted by relevancy

1 2 3 4

  /src/external/gpl3/gcc/dist/libquadmath/math/
tgammaq_product.c 22 - 1, in the form R * (1 + *EPS) where the return value R is an
23 approximation to the product and *EPS is set to indicate the
30 __quadmath_gamma_productq (__float128 x, __float128 x_eps, int n, __float128 *eps)
34 *eps = x_eps / x;
37 *eps += x_eps / (x + i);
40 *eps += lo / ret;
tgammaq.c 78 __float128 eps; local
79 __float128 prod = __quadmath_gamma_productq (x_adj, 0, n, &eps);
81 * prod * (1 + eps));
85 __float128 eps = 0; local
96 prod = __quadmath_gamma_productq (x_adj - n, x_eps, n, &eps);
98 /* The result is now gamma (X_ADJ + X_EPS) / (PROD * (1 + EPS)).
102 __float128 exp_adj = -eps;
  /src/external/gpl3/gcc.old/dist/libquadmath/math/
tgammaq_product.c 22 - 1, in the form R * (1 + *EPS) where the return value R is an
23 approximation to the product and *EPS is set to indicate the
30 __quadmath_gamma_productq (__float128 x, __float128 x_eps, int n, __float128 *eps)
34 *eps = x_eps / x;
37 *eps += x_eps / (x + i);
40 *eps += lo / ret;
tgammaq.c 78 __float128 eps; local
79 __float128 prod = __quadmath_gamma_productq (x_adj, 0, n, &eps);
81 * prod * (1 + eps));
85 __float128 eps = 0; local
96 prod = __quadmath_gamma_productq (x_adj - n, x_eps, n, &eps);
98 /* The result is now gamma (X_ADJ + X_EPS) / (PROD * (1 + EPS)).
102 __float128 exp_adj = -eps;
  /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
check.h 74 #define CHECK_FLOAT_EQ(a, b, eps) CHECK(std::fabs((a) - (b)) < (eps))
75 #define CHECK_FLOAT_NE(a, b, eps) CHECK(std::fabs((a) - (b)) >= (eps))
76 #define CHECK_FLOAT_GE(a, b, eps) CHECK((a) - (b) > -(eps))
77 #define CHECK_FLOAT_LE(a, b, eps) CHECK((b) - (a) > -(eps))
78 #define CHECK_FLOAT_GT(a, b, eps) CHECK((a) - (b) > (eps))
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/benchmark/src/
check.h 72 #define CHECK_FLOAT_EQ(a, b, eps) CHECK(std::fabs((a) - (b)) < (eps))
73 #define CHECK_FLOAT_NE(a, b, eps) CHECK(std::fabs((a) - (b)) >= (eps))
74 #define CHECK_FLOAT_GE(a, b, eps) CHECK((a) - (b) > -(eps))
75 #define CHECK_FLOAT_LE(a, b, eps) CHECK((b) - (a) > -(eps))
76 #define CHECK_FLOAT_GT(a, b, eps) CHECK((a) - (b) > (eps))
    [all...]
  /src/usr.sbin/timed/timed/
networkdelta.c 77 float eps; local
104 eps = med - x[0];
108 med = median(med, &eps, &x[0], xp+1, VALID_RANGE);
145 return median(med, &eps, &x[0], xp, 1);
166 float eps; local
172 eps = *eps_ptr;
173 if (eps < 1.0) {
174 eps = -eps;
175 if (eps < 1.0
    [all...]
  /src/external/lgpl3/mpfr/dist/src/
eint.c 41 mpfr_t eps; /* dynamic (absolute) error bound on t */ local
68 MPFR_GROUP_INIT_3 (group, 31, eps, erru, errs);
98 mpfr_set_ui (eps, 0, MPFR_RNDN); /* eps[0] = 0 */
102 /* let t[k] = x^k/k/k!, and eps[k] be the absolute error on t[k]:
104 eps[k+1] <= 1 + eps[k-1]*|m|*2^e/k + |t[k-1]|*|m|*2^(1-w)*2^e/k
105 = 1 + (eps[k-1] + |t[k-1]|*2^(1-w))*|m|*2^e/k
106 = 1 + (eps[k-1]*2^(w-1) + |t[k-1]|)*2^(1-w)*|m|*2^e/k */
107 mpfr_mul_2ui (eps, eps, w - 1, MPFR_RNDU)
    [all...]
  /src/external/gpl3/gcc/dist/libquadmath/
sfp-machine.h 54 volatile double eps \
56 eight += eps; \
  /src/external/bsd/flex/dist/src/
nfa.c 382 int eps; local
390 eps = mkstate (SYM_EPSILON);
392 mkxtion (eps, first);
393 mkxtion (eps, second);
395 return eps;
429 int eps; local
432 eps = mkstate (SYM_EPSILON);
433 mach = link_machines (mach, eps);
440 eps = mkstate (SYM_EPSILON);
441 mach = link_machines (eps, mach)
465 int eps, orend; local
520 int eps; local
    [all...]
  /src/external/lgpl3/mpfr/dist/tests/
tinternals.c 50 mpfr_t x, y, z, eps; local
55 mpfr_inits (x, y, z, eps, (mpfr_ptr) 0);
59 mpfr_set_prec (eps, 2);
60 mpfr_set_ui_2exp (eps, 1, -32, MPFR_RNDN);
82 (z, x, eps, (mpfr_rnd_t) r);
120 mpfr_clears (x, y, z, eps, (mpfr_ptr) 0);
tests.c 482 for (eps = 1.0; eps != DBL_EPSILON; eps /= 2.0);
483 c = 1.0 + eps;
484 d = eps * (1.0 - eps) / 2.0;
540 double y, eps; local
550 eps = x + y;
551 eps = eps - x; /* ulp(x) or 2*ulp(x) *
    [all...]
  /src/tests/lib/libm/
t_remquo.c 87 const double eps = DBL_EPSILON; local
102 ok &= (fabs(r - r_exp) <= eps);
t_cosh.c 67 const double eps = DBL_EPSILON; local
74 if (!(fabs((cosh(x) - cosh_x)/cosh_x) <= eps)) {
164 const float eps = FLT_EPSILON; local
171 if (!(fabsf((coshf(x) - cosh_x)/cosh_x) <= eps)) {
t_cos.c 78 const long double eps = DBL_EPSILON; local
87 if (!(fabsl((cosl(theta) - cos_theta)/cos_theta) <= eps)) {
174 const double eps = DBL_EPSILON; local
183 if (!(fabs((cos(theta) - cos_theta)/cos_theta) <= eps)) {
270 const float eps = FLT_EPSILON; local
294 if (!(fabsf((result - cos_theta)/cos_theta) <= eps)) {
t_sincos.c 103 const long double eps = DBL_EPSILON; local
121 if (fabsl((s - sin_theta)/sin_theta) > eps) {
126 if (fabsl((c - cos_theta)/cos_theta) > eps) {
221 const double eps = DBL_EPSILON; local
237 if (fabs((s - sin_theta)/sin_theta) > eps) {
242 if (fabs((c - cos_theta)/cos_theta) > eps) {
337 const float eps = FLT_EPSILON; local
357 if (fabs((s - sin_theta)/sin_theta) > eps) {
362 if (fabs((c - cos_theta)/cos_theta) > eps) {
t_asin.c 121 const double eps = DBL_EPSILON; local
128 if (!(fabs((asin(x) - y)/y) <= eps))
235 const float eps = FLT_EPSILON; local
246 if (!(fabsf((asinf(x) - y)/y) <= eps)) {
249 x, asinf(x), y, fabsf(((asinf(x) - y)/y)/eps));
t_cbrt.c 66 const double eps = 2*DBL_EPSILON; local
77 ok = (fabs((x_cbrt - x_pow13)/x_cbrt) <= eps);
175 const float eps = 2*FLT_EPSILON; local
186 ok = (fabsf((x_cbrt - x_pow13)/x_cbrt) <= eps);
285 const long double eps = 2*LDBL_EPSILON; local
296 ok = (fabsl((x_cbrt - x_pow13)/x_cbrt) <= eps);
t_sqrt.c 65 const double eps = DBL_EPSILON; local
76 ok = (fabs((x_sqrt - x_pow12)/x_sqrt) <= eps);
172 const float eps = FLT_EPSILON; local
183 ok = (fabsf((x_sqrt - x_pow12)/x_sqrt) <= eps);
280 const long double eps = DBL_EPSILON; /* XXX powl == pow for now */ local
291 ok = (fabsl((x_sqrt - x_pow12)/x_sqrt) <= eps);
t_sin.c 72 const double eps = DBL_EPSILON; local
87 ok = (fabs((sin(theta) - sin_theta)/sin_theta) <= eps);
178 const float eps = FLT_EPSILON; local
195 <= eps);
  /src/external/lgpl3/gmp/dist/tests/mpq/
t-get_d.c 52 mpq_t eps; local
61 mpq_init (eps);
83 mpz_random2 (mpq_numref (eps), size);
85 mpz_random2 (mpq_denref (eps), size);
86 mpq_canonicalize (eps);
88 mpq_add (a, a, eps);
113 mpq_clear (eps);
  /src/external/mit/libcbor/dist/test/
type_7_test.c 21 static const float eps = 0.00001f; variable
31 assert_true(fabs(cbor_float_get_float(float_ctrl) - 65504.0F) < eps); local
44 assert_true(fabs(cbor_float_get_float(float_ctrl) - 100000.0F) < eps); local
  /src/lib/libc/gdtoa/
dtoa.c 131 U d, d2, eps; local
383 dval(&eps) = ieps*dval(&d) + 7.; variable
384 word0(&eps) -= (P-1)*Exp_msk1;
388 if (dval(&d) > dval(&eps))
390 if (dval(&d) < -dval(&eps))
399 dval(&eps) = 0.5/tens[ilim-1] - dval(&eps); variable
404 if (dval(&d) < dval(&eps))
406 if (1. - dval(&d) < dval(&eps))
410 dval(&eps) *= 10.
    [all...]
gdtoa.c 169 U d, eps; local
390 dval(&eps) = ieps*dval(&d) + 7.;
391 word0(&eps) -= (P-1)*Exp_msk1;
395 if (dval(&d) > dval(&eps))
397 if (dval(&d) < -dval(&eps))
406 dval(&eps) = ds*0.5/tens[ilim-1] - dval(&eps);
411 if (dval(&d) < dval(&eps)) {
416 if (ds - dval(&d) < dval(&eps))
420 dval(&eps) *= 10.
    [all...]
  /src/external/mpl/bind/dist/bin/tests/
test_server.c 271 isc_nm_http_endpoints_t *eps = NULL; local
275 eps = isc_nm_http_endpoints_new(mctx);
277 eps, ISC_NM_HTTP_DEFAULT_PATH, read_cb, NULL);
282 tls_ctx, eps, 0, ISC_NM_PROXY_NONE, &sock);
284 isc_nm_http_endpoints_detach(&eps);

Completed in 48 milliseconds

1 2 3 4