Home
last modified time | relevance | path

Searched refs:eps (Results 1 – 25 of 98) sorted by relevance

1234

/netbsd/external/lgpl3/mpfr/dist/src/
H A Deint.c107 mpfr_mul_2ui (eps, eps, w - 1, MPFR_RNDU); in mpfr_eint_aux()
109 mpfr_add_z (eps, eps, t, MPFR_RNDU); in mpfr_eint_aux()
111 mpfr_sub_z (eps, eps, t, MPFR_RNDU); in mpfr_eint_aux()
113 mpfr_mul_2si (eps, eps, sizeinbase - (w - 1) + e, MPFR_RNDU); in mpfr_eint_aux()
114 mpfr_div_ui (eps, eps, k, MPFR_RNDU); in mpfr_eint_aux()
115 mpfr_add_ui (eps, eps, 1, MPFR_RNDU); in mpfr_eint_aux()
125 mpfr_div_ui (erru, eps, k, MPFR_RNDU); in mpfr_eint_aux()
140 mpfr_add_z (eps, eps, t, MPFR_RNDU); in mpfr_eint_aux()
141 mpfr_div_ui (eps, eps, k, MPFR_RNDU); in mpfr_eint_aux()
143 mpfr_mul (eps, eps, erru, MPFR_RNDU); in mpfr_eint_aux()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/utils/benchmark/src/
H A Dcheck.h72 #define CHECK_FLOAT_EQ(a, b, eps) CHECK(std::fabs((a) - (b)) < (eps)) argument
73 #define CHECK_FLOAT_NE(a, b, eps) CHECK(std::fabs((a) - (b)) >= (eps)) argument
74 #define CHECK_FLOAT_GE(a, b, eps) CHECK((a) - (b) > -(eps)) argument
75 #define CHECK_FLOAT_LE(a, b, eps) CHECK((b) - (a) > -(eps)) argument
76 #define CHECK_FLOAT_GT(a, b, eps) CHECK((a) - (b) > (eps)) argument
77 #define CHECK_FLOAT_LT(a, b, eps) CHECK((b) - (a) > (eps)) argument
/netbsd/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
H A Dcheck.h74 #define CHECK_FLOAT_EQ(a, b, eps) CHECK(std::fabs((a) - (b)) < (eps)) argument
75 #define CHECK_FLOAT_NE(a, b, eps) CHECK(std::fabs((a) - (b)) >= (eps)) argument
76 #define CHECK_FLOAT_GE(a, b, eps) CHECK((a) - (b) > -(eps)) argument
77 #define CHECK_FLOAT_LE(a, b, eps) CHECK((b) - (a) > -(eps)) argument
78 #define CHECK_FLOAT_GT(a, b, eps) CHECK((a) - (b) > (eps)) argument
79 #define CHECK_FLOAT_LT(a, b, eps) CHECK((b) - (a) > (eps)) argument
/netbsd/usr.sbin/timed/timed/
H A Dnetworkdelta.c77 float eps; in networkdelta() local
104 eps = med - x[0]; in networkdelta()
166 float eps; in median() local
172 eps = *eps_ptr; in median()
173 if (eps < 1.0) { in median()
174 eps = -eps; in median()
175 if (eps < 1.0) in median()
176 eps = 1.0; in median()
201 dum = 1.0/(eps + dum); in median()
239 eps = AFAC*abs(aa - a); in median()
[all …]
/netbsd/external/bsd/flex/dist/src/
H A Dnfa.c382 int eps; in mkbranch() local
390 eps = mkstate (SYM_EPSILON); in mkbranch()
392 mkxtion (eps, first); in mkbranch()
393 mkxtion (eps, second); in mkbranch()
395 return eps; in mkbranch()
429 int eps; in mkopt() local
432 eps = mkstate (SYM_EPSILON); in mkopt()
440 eps = mkstate (SYM_EPSILON); in mkopt()
465 int eps, orend; in mkor() local
520 int eps; in mkposcl() local
[all …]
/netbsd/external/gpl2/groff/dist/doc/
H A DMakefile.sub110 gnu.eps \
133 examples.stamp: grnexmpl.g groff.css gnu.eps
136 if test ! -f gnu.eps; then \
137 if test -f $(srcdir)/gnu.eps; then \
138 cp $(srcdir)/gnu.eps .; \
140 cp $(top_builddir)/contrib/pdfmark/gnu.eps .; \
148 gnu.eps: gnu.xpm
150 test -f gnu.eps || cp $(srcdir)/gnu.eps .
151 NetBSD_DISABLED_gnu.eps:
166 webpage.ps: gnu.eps
[all …]
H A DMakefile.in120 gnu.eps: gnu.xpm
122 test -f gnu.eps || cp $(srcdir)/gnu.eps .
123 NetBSD_DISABLED_gnu.eps:
135 webpage.html: webpage.ms gnu.png gnu.eps groff.css
136 webpage.ps: gnu.eps
152 -rm -f *.png *.eps
/netbsd/external/gpl2/groff/dist/contrib/pdfmark/
H A DMakefile.sub34 gnu.eps \
67 pdfdoc: gnu.eps $(PDFDOCFILES)
69 gnu.eps:
70 if test -f $(top_srcdir)/doc/gnu.eps; then \
71 cp $(top_srcdir)/doc/gnu.eps . ; \
72 elif test -f $(top_builddir)/doc/gnu.eps; then \
73 cp $(top_builddir)/doc/gnu.eps . ; \
/netbsd/external/lgpl3/mpfr/dist/tests/
H A Dtinternals.c50 mpfr_t x, y, z, eps; in test_round_near_x() local
55 mpfr_inits (x, y, z, eps, (mpfr_ptr) 0); in test_round_near_x()
59 mpfr_set_prec (eps, 2); in test_round_near_x()
60 mpfr_set_ui_2exp (eps, 1, -32, MPFR_RNDN); in test_round_near_x()
82 (z, x, eps, (mpfr_rnd_t) r); in test_round_near_x()
120 mpfr_clears (x, y, z, eps, (mpfr_ptr) 0); in test_round_near_x()
H A Dtests.c482 for (eps = 1.0; eps != DBL_EPSILON; eps /= 2.0); in mpfr_test_init()
483 c = 1.0 + eps; in mpfr_test_init()
484 d = eps * (1.0 - eps) / 2.0; in mpfr_test_init()
540 double y, eps; in Ulp() local
550 eps = x + y; in Ulp()
551 eps = eps - x; /* ulp(x) or 2*ulp(x) */ in Ulp()
553 return (eps > y) ? 0.5 * eps : eps; in Ulp()
/netbsd/external/gpl3/gcc/dist/libquadmath/math/
H A Dtgammaq_product.c30 __quadmath_gamma_productq (__float128 x, __float128 x_eps, int n, __float128 *eps) in __quadmath_gamma_productq() argument
34 *eps = x_eps / x; in __quadmath_gamma_productq()
37 *eps += x_eps / (x + i); in __quadmath_gamma_productq()
40 *eps += lo / ret; in __quadmath_gamma_productq()
H A Dtgammaq.c78 __float128 eps; in gammal_positive() local
79 __float128 prod = __quadmath_gamma_productq (x_adj, 0, n, &eps); in gammal_positive()
81 * prod * (1 + eps)); in gammal_positive()
85 __float128 eps = 0; in gammal_positive() local
96 prod = __quadmath_gamma_productq (x_adj - n, x_eps, n, &eps); in gammal_positive()
102 __float128 exp_adj = -eps; in gammal_positive()
/netbsd/external/gpl3/gcc.old/dist/libquadmath/math/
H A Dtgammaq_product.c30 __quadmath_gamma_productq (__float128 x, __float128 x_eps, int n, __float128 *eps) in __quadmath_gamma_productq() argument
34 *eps = x_eps / x; in __quadmath_gamma_productq()
37 *eps += x_eps / (x + i); in __quadmath_gamma_productq()
40 *eps += lo / ret; in __quadmath_gamma_productq()
H A Dtgammaq.c78 __float128 eps; in gammal_positive() local
79 __float128 prod = __quadmath_gamma_productq (x_adj, 0, n, &eps); in gammal_positive()
81 * prod * (1 + eps)); in gammal_positive()
85 __float128 eps = 0; in gammal_positive() local
96 prod = __quadmath_gamma_productq (x_adj - n, x_eps, n, &eps); in gammal_positive()
102 __float128 exp_adj = -eps; in gammal_positive()
/netbsd/external/lgpl3/gmp/dist/tests/mpq/
H A Dt-get_d.c52 mpq_t eps; in check_monotonic() local
61 mpq_init (eps); in check_monotonic()
83 mpz_random2 (mpq_numref (eps), size); in check_monotonic()
85 mpz_random2 (mpq_denref (eps), size); in check_monotonic()
86 mpq_canonicalize (eps); in check_monotonic()
88 mpq_add (a, a, eps); in check_monotonic()
113 mpq_clear (eps); in check_monotonic()
/netbsd/lib/libc/gdtoa/
H A Ddtoa.c131 U d, d2, eps; local
383 dval(&eps) = ieps*dval(&d) + 7.;
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);
404 if (dval(&d) < dval(&eps))
406 if (1. - dval(&d) < dval(&eps))
410 dval(&eps) *= 10.;
417 dval(&eps) *= tens[ilim-1];
[all …]
H A Dgdtoa.c169 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.;
427 dval(&eps) *= tens[ilim-1];
[all …]
/netbsd/tests/lib/libm/
H A Dt_sincos.c104 const long double eps = DBL_EPSILON; in ATF_TC_BODY() local
122 if (fabsl((s - sin_theta)/sin_theta) > eps) { in ATF_TC_BODY()
127 if (fabsl((c - cos_theta)/cos_theta) > eps) { in ATF_TC_BODY()
223 const double eps = DBL_EPSILON; in ATF_TC_BODY() local
239 if (fabs((s - sin_theta)/sin_theta) > eps) { in ATF_TC_BODY()
244 if (fabs((c - cos_theta)/cos_theta) > eps) { in ATF_TC_BODY()
339 const float eps = FLT_EPSILON; in ATF_TC_BODY() local
359 if (fabs((s - sin_theta)/sin_theta) > eps) { in ATF_TC_BODY()
364 if (fabs((c - cos_theta)/cos_theta) > eps) { in ATF_TC_BODY()
H A Dt_cos.c79 const long double eps = DBL_EPSILON; in ATF_TC_BODY() local
88 if (!(fabsl((cosl(theta) - cos_theta)/cos_theta) <= eps)) { in ATF_TC_BODY()
175 const double eps = DBL_EPSILON; in ATF_TC_BODY() local
184 if (!(fabs((cos(theta) - cos_theta)/cos_theta) <= eps)) { in ATF_TC_BODY()
270 const float eps = FLT_EPSILON; in ATF_TC_BODY() local
293 if (!(fabsf((result - cos_theta)/cos_theta) <= eps)) { in ATF_TC_BODY()
H A Dt_cbrt.c66 const double eps = 2*DBL_EPSILON; in ATF_TC_BODY() local
77 ok = (fabs((x_cbrt - x_pow13)/x_cbrt) <= eps); in ATF_TC_BODY()
175 const float eps = 2*FLT_EPSILON; in ATF_TC_BODY() local
186 ok = (fabsf((x_cbrt - x_pow13)/x_cbrt) <= eps); in ATF_TC_BODY()
285 const long double eps = 2*LDBL_EPSILON; in ATF_TC_BODY() local
299 ok = (fabsl((x_cbrt - x_pow13)/x_cbrt) <= eps); in ATF_TC_BODY()
H A Dt_sqrt.c65 const double eps = DBL_EPSILON; in ATF_TC_BODY() local
76 ok = (fabs((x_sqrt - x_pow12)/x_sqrt) <= eps); in ATF_TC_BODY()
172 const float eps = FLT_EPSILON; in ATF_TC_BODY() local
183 ok = (fabsf((x_sqrt - x_pow12)/x_sqrt) <= eps); in ATF_TC_BODY()
280 const long double eps = DBL_EPSILON; /* XXX powl == pow for now */ in ATF_TC_BODY() local
291 ok = (fabsl((x_sqrt - x_pow12)/x_sqrt) <= eps); in ATF_TC_BODY()
H A Dt_asin.c121 const double eps = DBL_EPSILON; in ATF_TC_BODY() local
128 if (!(fabs((asin(x) - y)/y) <= eps)) in ATF_TC_BODY()
235 const float eps = FLT_EPSILON; in ATF_TC_BODY() local
245 if (!(fabsf((asinf(x) - y)/y) <= eps)) { in ATF_TC_BODY()
248 x, asinf(x), y, fabsf(((asinf(x) - y)/y)/eps)); in ATF_TC_BODY()
H A Dt_sinh.c66 const double eps = DBL_EPSILON; in ATF_TC_BODY() local
73 if (!(fabs((sinh(x) - sinh_x)/sinh_x) <= eps)) { in ATF_TC_BODY()
165 const float eps = FLT_EPSILON; in ATF_TC_BODY() local
172 if (!(fabsf((sinhf(x) - sinh_x)/sinh_x) <= eps)) { in ATF_TC_BODY()
H A Dt_cosh.c67 const double eps = DBL_EPSILON; in ATF_TC_BODY() local
74 if (!(fabs((cosh(x) - cosh_x)/cosh_x) <= eps)) { in ATF_TC_BODY()
164 const float eps = FLT_EPSILON; in ATF_TC_BODY() local
171 if (!(fabsf((coshf(x) - cosh_x)/cosh_x) <= eps)) { in ATF_TC_BODY()
H A Dt_sin.c72 const double eps = DBL_EPSILON; in ATF_TC_BODY() local
87 ok = (fabs((sin(theta) - sin_theta)/sin_theta) <= eps); in ATF_TC_BODY()
176 const float eps = FLT_EPSILON; in ATF_TC_BODY() local
193 <= eps); in ATF_TC_BODY()

1234