Home
last modified time | relevance | path

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

123

/external/v8/test/mjsunit/
Dnumber-limits.js30 var i; var eps;
31 for (i = 0, eps = 1; i < 1100; i++, eps /= 2) {
32 var mulAboveMax = Number.MAX_VALUE * (1 + eps);
33 var addAboveMax = Number.MAX_VALUE + 1/eps;
34 var mulBelowMin = Number.MIN_VALUE * (1 - eps);
35 var addBelowMin = Number.MIN_VALUE - eps;
/external/webkit/Tools/android/flex-2.5.4a/
Dnfa.c370 int eps; local
378 eps = mkstate( SYM_EPSILON );
380 mkxtion( eps, first );
381 mkxtion( eps, second );
383 return eps;
419 int eps; local
423 eps = mkstate( SYM_EPSILON );
424 mach = link_machines( mach, eps );
431 eps = mkstate( SYM_EPSILON );
432 mach = link_machines( eps, mach );
[all …]
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
Dchkder.h21 const Scalar eps = sqrt(NumTraits<Scalar>::epsilon()); in chkder() local
23 const Scalar epslog = chkder_log10e * log(eps); in chkder()
32 temp = eps * abs(x[j]); in chkder()
34 temp = eps; in chkder()
50 … temp = eps * abs((fvecp[i] - fvec[i]) / eps - err[i]) / (abs(fvec[i]) + abs(fvecp[i])); in chkder()
52 if (temp > NumTraits<Scalar>::epsilon() && temp < eps) in chkder()
54 if (temp >= eps) in chkder()
Dfdjac1.h19 Scalar eps, temp; in fdjac1() local
31 eps = sqrt((std::max)(epsfcn,epsmch)); in fdjac1()
37 h = eps * abs(temp); in fdjac1()
39 h = eps; in fdjac1()
53 h = eps * abs(wa2[j]); in fdjac1()
54 if (h == 0.) h = eps; in fdjac1()
62 h = eps * abs(wa2[j]); in fdjac1()
63 if (h == 0.) h = eps; in fdjac1()
/external/blktrace/btt/doc/
DMakefile5 btt.tex: activity.eps qhist.eps dhist.eps seek.eps
/external/opencv/cv/src/
Dcvmatchcontours.cpp65 double eps = 1.e-5; in cvMatchShapes() local
127 if( ama > eps && amb > eps ) in cvMatchShapes()
157 if( ama > eps && amb > eps ) in cvMatchShapes()
187 if( ama > eps && amb > eps ) in cvMatchShapes()
232 double eps = 1.e-5; in cvMatchContourTrees() local
281 if( area1 < eps || area2 < eps || lpt < 4 ) in cvMatchContourTrees()
Dcvcornersubpix.cpp69 double eps; in cvFindCornerSubPix() local
98 eps = 0.f; in cvFindCornerSubPix()
102 eps = criteria.epsilon; in cvFindCornerSubPix()
106 eps = criteria.epsilon; in cvFindCornerSubPix()
114 eps = MAX( eps, 0 ); in cvFindCornerSubPix()
115 eps *= eps; /* use square of error in comparsion operations. */ in cvFindCornerSubPix()
250 while( ++iter < max_iters && err > eps ); in cvFindCornerSubPix()
Dcvapprox.cpp520 CvSeq** dst_contour, float eps ) in icvApproxPolyDP_32s() argument
546 eps *= eps; in icvApproxPolyDP_32s()
596 le_eps = max_dist <= eps; in icvApproxPolyDP_32s()
649 le_eps = (double)max_dist * max_dist <= eps * ((double)dx * dx + (double)dy * dy); in icvApproxPolyDP_32s()
694 if( (double)dist * dist <= 0.5*eps*((double)dx*dx + (double)dy*dy) && dx != 0 && dy != 0 ) in icvApproxPolyDP_32s()
724 CvSeq** dst_contour, float eps ) in icvApproxPolyDP_32f() argument
750 eps *= eps; in icvApproxPolyDP_32f()
801 le_eps = max_dist <= eps; in icvApproxPolyDP_32f()
854 le_eps = (double)max_dist * max_dist <= eps * ((double)dx * dx + (double)dy * dy); in icvApproxPolyDP_32f()
899 if( (double)dist * dist <= 0.5*eps*((double)dx*dx + (double)dy*dy) ) in icvApproxPolyDP_32f()
Dcvcamshift.cpp65 int i = 0, eps; in cvMeanShift() local
93 eps = cvRound( criteria.epsilon * criteria.epsilon ); in cvMeanShift()
130 if( dx*dx + dy*dy < eps ) in cvMeanShift()
/external/valgrind/main/drd/tests/
Domp_matinv.c269 elem_t eps; in epsilon() local
270 for (eps = 1; 1 + eps != 1; eps /= 2) in epsilon()
272 return 2 * eps; in epsilon()
293 elem_t eps; in main() local
324 eps = epsilon(); in main()
331 ratio = error / (eps * matrix_size); in main()
335 error, eps, ratio); in main()
Dmatinv.c305 elem_t eps; in epsilon() local
306 for (eps = 1; 1 + eps != 1; eps /= 2) in epsilon()
308 return 2 * eps; in epsilon()
317 elem_t eps; in main() local
344 eps = epsilon(); in main()
351 ratio = error / (eps * matrix_size); in main()
355 error, eps, ratio); in main()
/external/opencv/cxcore/src/
Dcxjacobieigens.cpp69 icvJacobiEigens_32f(float *A, float *V, float *E, int n, float eps) in icvJacobiEigens_32f() argument
79 if( eps < DBL_EPSILON ) in icvJacobiEigens_32f()
80 eps = DBL_EPSILON; in icvJacobiEigens_32f()
97 ax = anorm * eps / n; in icvJacobiEigens_32f()
220 icvJacobiEigens_64d(double *A, double *V, double *E, int n, double eps) in icvJacobiEigens_64d() argument
230 if( eps < DBL_EPSILON ) in icvJacobiEigens_64d()
231 eps = DBL_EPSILON; in icvJacobiEigens_64d()
248 ax = anorm * eps / n; in icvJacobiEigens_64d()
370 cvEigenVV( CvArr* srcarr, CvArr* evectsarr, CvArr* evalsarr, double eps ) in cvEigenVV() argument
411 evals->data.fl, src->cols, (float)eps )); in cvEigenVV()
[all …]
/external/eigen/unsupported/Eigen/src/NumericalDiff/
DNumericalDiff.h70 const Scalar eps = internal::sqrt(((std::max)(epsfcn,NumTraits<Scalar>::epsilon() ))); in df() local
92 h = eps * internal::abs(x[j]); in df()
94 h = eps; in df()
/external/eigen/Eigen/src/Core/
DStableNorm.h84 RealScalar abig, eps; in blueNorm() local
111 eps = RealScalar(pow(double(ibeta), 1-it)); in blueNorm()
112 relerr = internal::sqrt(eps); // tolerance for neglecting asml in blueNorm()
113 abig = RealScalar(1.0/eps - 1.0); in blueNorm()
/external/eigen/bench/
DbenchBlasGemm.cpp183 MyMatrix::Scalar eps = 1e-4; in check_product() local
188 MYVERIFY(meigen.isApprox(mref, eps),". * ."); in check_product()
193 MYVERIFY(meigen.isApprox(mref, eps),"T * ."); in check_product()
198 MYVERIFY(meigen.isApprox(mref, eps),"T * T"); in check_product()
203 MYVERIFY(meigen.isApprox(mref, eps),". * T"); in check_product()
/external/chromium/net/tools/flip_server/
Depoll_server.h72 virtual void OnRegistration(EpollServer* eps, int fd, int event_mask) = 0;
110 virtual void OnShutdown(EpollServer* eps, int fd) = 0;
1002 EpollServer* eps) = 0;
1014 virtual void OnShutdown(EpollServer* eps) = 0;
1040 EpollServer* eps);
1046 virtual void OnShutdown(EpollServer* eps);
1053 const EpollServer* eps() const { return eps_; } in eps() function
Doutput_ordering.h59 EpollServer* eps);
61 virtual void OnShutdown(EpollServer* eps);
Dacceptor_thread.h52 virtual void OnRegistration(EpollServer* eps, int fd, int event_mask) {} in OnRegistration() argument
56 virtual void OnShutdown(EpollServer* eps, int fd) {} in OnShutdown() argument
Doutput_ordering.cc68 EpollServer* eps) { in OnRegistration() argument
69 epoll_server_ = eps; in OnRegistration()
78 void OutputOrdering::BeginOutputtingAlarm::OnShutdown(EpollServer* eps) { in OnShutdown() argument
Dsm_connection.h85 virtual void OnRegistration(EpollServer* eps, int fd, int event_mask);
89 virtual void OnShutdown(EpollServer* eps, int fd);
/external/chromium/base/third_party/dmg_fp/
Dmac_wextra.patch37 if (dval(&u) > 0.5 + dval(&eps))
39 else if (dval(&u) < 0.5 - dval(&eps)) {
/external/eigen/test/eigen2/
Deigen2_sparse_vector.cpp20 Scalar eps = 1e-6; in sparse_vector() local
41 VERIFY_IS_MUCH_SMALLER_THAN( v1.coeff(zerocoords[i]), eps ); in sparse_vector()
/external/eigen/test/
Dsparse_vector.cpp20 Scalar eps = 1e-6; in sparse_vector() local
41 VERIFY_IS_MUCH_SMALLER_THAN( v1.coeff(zerocoords[i]), eps ); in sparse_vector()
/external/webkit/Source/JavaScriptCore/wtf/
Ddtoa.cpp1329 U d2, eps, u; in dtoa() local
1485 dval(&eps) = (ieps * dval(&u)) + 7.; in dtoa()
1486 word0(&eps) -= (P - 1) * Exp_msk1; in dtoa()
1491 if (dval(&u) > dval(&eps)) in dtoa()
1493 if (dval(&u) < -dval(&eps)) in dtoa()
1501 dval(&eps) = (0.5 / tens[ilim - 1]) - dval(&eps); in dtoa()
1506 if (dval(&u) < dval(&eps)) in dtoa()
1508 if (1. - dval(&u) < dval(&eps)) in dtoa()
1512 dval(&eps) *= 10.; in dtoa()
1517 dval(&eps) *= tens[ilim - 1]; in dtoa()
[all …]
/external/eigen/unsupported/test/
Dsparse_extra.cpp62 Scalar eps = 1e-6; in sparse_extra() local
78 VERIFY_IS_MUCH_SMALLER_THAN( m.coeff(zeroCoords[i].x(),zeroCoords[i].y()), eps ); in sparse_extra()

123