/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
H A D | SkiaUtils.cpp | 191 return fabs(value - floorf(value)) < std::numeric_limits<float>::epsilon(); 226 bool widthNearlyEqual = diffWidth < std::numeric_limits<float>::epsilon(); 227 bool heightNearlyEqual = diffHeight < std::numeric_limits<float>::epsilon(); 241 if ((!nearlyIntegral(destWidth) && srcWidth > 1 + std::numeric_limits<float>::epsilon()) 242 || (!nearlyIntegral(destHeight) && srcHeight > 1 + std::numeric_limits<float>::epsilon()))
|
/external/chromium_org/ui/gfx/ |
H A D | skbitmap_operations.cc | 236 const double epsilon = 0.0005; member in namespace:__anon16903::HSLShift 255 DCHECK(hsl_shift.s < 0 || fabs(hsl_shift.s - 0.5) < HSLShift::epsilon); 256 DCHECK(hsl_shift.l < 0 || fabs(hsl_shift.l - 0.5) < HSLShift::epsilon); 268 DCHECK(hsl_shift.s < 0 || fabs(hsl_shift.s - 0.5) < HSLShift::epsilon); 269 DCHECK(hsl_shift.l <= 0.5 - HSLShift::epsilon && hsl_shift.l >= 0); 292 DCHECK(hsl_shift.s < 0 || fabs(hsl_shift.s - 0.5) < HSLShift::epsilon); 293 DCHECK(hsl_shift.l >= 0.5 + HSLShift::epsilon && hsl_shift.l <= 1); 337 DCHECK(hsl_shift.s >= 0 && hsl_shift.s <= 0.5 - HSLShift::epsilon); 338 DCHECK(hsl_shift.l < 0 || fabs(hsl_shift.l - 0.5) < HSLShift::epsilon); 374 DCHECK(hsl_shift.s >= 0 && hsl_shift.s <= 0.5 - HSLShift::epsilon); [all...] |
/external/chromium_org/native_client_sdk/src/examples/demo/flock/ |
H A D | vector2.h | 42 if (fabs(mag) < std::numeric_limits<double>::epsilon())
|
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/ |
H A D | LMonestep.h | 178 if (abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <= 1.) 183 if (m_delta <= NumTraits<Scalar>::epsilon() * xnorm) 188 if (m_gnorm <= NumTraits<Scalar>::epsilon())
|
H A D | LevenbergMarquardt.h | 136 const Scalar tol = std::sqrt(NumTraits<Scalar>::epsilon()) 142 const Scalar tol = std::sqrt(NumTraits<Scalar>::epsilon()) 150 m_ftol = std::sqrt(NumTraits<RealScalar>::epsilon()); 151 m_xtol = std::sqrt(NumTraits<RealScalar>::epsilon());
|
/external/chromium-trace/trace-viewer/src/base/unittest/ |
H A D | assertions.js | 190 var epsilon = opt_epsilon || 0.000001; // 6 digits. 194 if (relative_error < epsilon) 197 ' to be within ' + epsilon + ' was ' + relative_error;
|
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
H A D | LevenbergMarquardt.h | 58 , ftol(std::sqrt(NumTraits<Scalar>::epsilon())) 59 , xtol(std::sqrt(NumTraits<Scalar>::epsilon())) 75 const Scalar tol = std::sqrt(NumTraits<Scalar>::epsilon()) 86 const Scalar tol = std::sqrt(NumTraits<Scalar>::epsilon()) 91 const Scalar tol = std::sqrt(NumTraits<Scalar>::epsilon()) 342 if (abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <= 1.) 344 if (delta <= NumTraits<Scalar>::epsilon() * xnorm) 346 if (gnorm <= NumTraits<Scalar>::epsilon()) 592 if (abs(actred) <= NumTraits<Scalar>::epsilon() [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | astro.h | 654 double periodDays, double epsilon, UBool next); 665 double epsilon);
|
H A D | astro.cpp | 604 while (uprv_fabs(delta) > 1e-5); // epsilon = 1e-5 rad 1298 double periodDays, double epsilon, UBool next) 1315 // Now iterate until we get the error below epsilon. Throughout 1352 return timeOfAngle(func, desired, periodDays, epsilon, next); 1360 while (uprv_fabs(deltaT) > epsilon); 1367 double epsilon) 1380 rise?"T":"F", diameter, refraction, epsilon)); 1395 while (++ count < 5 && uprv_fabs(deltaT) > epsilon); 1297 timeOfAngle(AngleFunc& func, double desired, double periodDays, double epsilon, UBool next) argument 1365 riseOrSet(CoordFunc& func, UBool rise, double diameter, double refraction, double epsilon) argument
|
/external/eigen/test/ |
H A D | nullary.cpp | 64 VERIFY( (MatrixXd(RowVectorXd::LinSpaced(3, 0, 1)) - RowVector3d(0, 0.5, 1)).norm() < std::numeric_limits<Scalar>::epsilon() ); 83 VERIFY( row_vector.isApprox(col_vector.transpose(), NumTraits<Scalar>::epsilon()));
|
H A D | product.h | 14 bool areNotApprox(const MatrixBase<Derived1>& m1, const MatrixBase<Derived2>& m2, typename Derived1::RealScalar epsilon = NumTraits<typename Derived1::RealScalar>::dummy_precision()) 16 return !((m1-m2).cwiseAbs2().maxCoeff() < epsilon * epsilon 85 // (we use the more accurate default epsilon)
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
H A D | MatrixFunctionAtomic.h | 111 if (Fincr_norm < NumTraits<Scalar>::epsilon() * F_norm) { 123 if (m_mu * delta * P_norm < NumTraits<Scalar>::epsilon() * F_norm)
|
/external/icu/icu4c/source/i18n/ |
H A D | astro.h | 654 double periodDays, double epsilon, UBool next); 665 double epsilon);
|
H A D | astro.cpp | 604 while (uprv_fabs(delta) > 1e-5); // epsilon = 1e-5 rad 1298 double periodDays, double epsilon, UBool next) 1315 // Now iterate until we get the error below epsilon. Throughout 1352 return timeOfAngle(func, desired, periodDays, epsilon, next); 1360 while (uprv_fabs(deltaT) > epsilon); 1367 double epsilon) 1380 rise?"T":"F", diameter, refraction, epsilon)); 1395 while (++ count < 5 && uprv_fabs(deltaT) > epsilon); 1297 timeOfAngle(AngleFunc& func, double desired, double periodDays, double epsilon, UBool next) argument 1365 riseOrSet(CoordFunc& func, UBool rise, double diameter, double refraction, double epsilon) argument
|
/external/srec/srec/crec/ |
H A D | comp_stats.c | 57 init_cs_clock(&c.epsilon); 90 print_cs_clock(&cs->epsilon, cs->total_time, fp, " Epsilon", "FSM_Nodes");
|
/external/eigen/unsupported/test/ |
H A D | mpreal_support.cpp | 16 std::cerr << "epsilon = " << NumTraits<mpreal>::epsilon() << "\n";
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
H A D | HTMLScriptRunner.cpp | 158 const double epsilon = 1; local 159 if (pendingScriptType == PendingScript::ParsingBlocking && !m_parserBlockingScriptAlreadyLoaded && compilationFinishTime > epsilon && loadFinishTime > epsilon) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | drawpix.c | 326 const GLfloat epsilon = 0.0001F; local 327 GLint x = IFLOOR(ctx->Current.RasterPos[0] + epsilon - xorig); 328 GLint y = IFLOOR(ctx->Current.RasterPos[1] + epsilon - yorig);
|
/external/chromium_org/ui/gfx/geometry/ |
H A D | quad_unittest.cc | 98 float epsilon = std::numeric_limits<float>::epsilon(); local 99 PointF a2(1 + epsilon / 2, 1 + epsilon / 2); 100 PointF b2(2 + epsilon / 2, 1 + epsilon / 2); 101 PointF c2(2 + epsilon / 2, 2 + epsilon / 2); 102 PointF d2(1 + epsilon / 2, 2 + epsilon / [all...] |
/external/eigen/test/eigen2/ |
H A D | product.h | 15 bool areNotApprox(const MatrixBase<Derived1>& m1, const MatrixBase<Derived2>& m2, typename Derived1::RealScalar epsilon = precision<typename Derived1::RealScalar>()) 17 return !((m1-m2).cwise().abs2().maxCoeff() < epsilon * epsilon 93 // (we use the more accurate default epsilon)
|
/external/mesa3d/src/mesa/main/ |
H A D | drawpix.c | 326 const GLfloat epsilon = 0.0001F; local 327 GLint x = IFLOOR(ctx->Current.RasterPos[0] + epsilon - xorig); 328 GLint y = IFLOOR(ctx->Current.RasterPos[1] + epsilon - yorig);
|
/external/opencv/cvaux/src/ |
H A D | cvlevmar.cpp | 60 int maxIter,double epsilon) 125 if( epsilon < 0 ) 226 } while ( change > epsilon && currIter < maxIter ); 56 cvLevenbergMarquardtOptimization(pointer_LMJac JacobianFunction, pointer_LMFunc function, CvMat *X0,CvMat *observRes,CvMat *resultX, int maxIter,double epsilon) argument
|
/external/bison/lib/ |
H A D | hash.c | 515 float epsilon; local 522 is 11 (due to next_prime's algorithm), so an epsilon of 0.1 524 epsilon = 0.1f; 526 if (epsilon < tuning->growth_threshold 527 && tuning->growth_threshold < 1 - epsilon 528 && 1 + epsilon < tuning->growth_factor 530 && tuning->shrink_threshold + epsilon < tuning->shrink_factor 532 && tuning->shrink_threshold + epsilon < tuning->growth_threshold)
|
/external/opencv/ml/src/ |
H A D | mlann_mlp.cpp | 834 double epsilon; local 850 epsilon = params.term_crit.type & CV_TERMCRIT_EPS ? params.term_crit.epsilon : DEFAULT_EPSILON; 851 epsilon = MAX(epsilon, DBL_EPSILON); 855 params.term_crit.epsilon = epsilon; 890 double prev_E = DBL_MAX*0.5, E = 0, epsilon; local 893 epsilon = params.term_crit.epsilon*coun 1065 double prev_E = DBL_MAX*0.5, epsilon; local [all...] |
/external/opencv/cv/src/ |
H A D | cvposit.cpp | 119 float diff = (float)criteria.epsilon; 141 if( (criteria.type & CV_TERMCRIT_EPS) && criteria.epsilon < 0 ) 233 converged = ((criteria.type & CV_TERMCRIT_EPS) && (diff < criteria.epsilon));
|