/external/chromium_org/cc/animation/ |
H A D | timing_function_unittest.cc | 16 double epsilon = 0.00015; local 18 EXPECT_NEAR(function->GetValue(0), 0, epsilon); 19 EXPECT_NEAR(function->GetValue(0.05), 0.01136, epsilon); 20 EXPECT_NEAR(function->GetValue(0.1), 0.03978, epsilon); 21 EXPECT_NEAR(function->GetValue(0.15), 0.079780, epsilon); 22 EXPECT_NEAR(function->GetValue(0.2), 0.12803, epsilon); 23 EXPECT_NEAR(function->GetValue(0.25), 0.18235, epsilon); 24 EXPECT_NEAR(function->GetValue(0.3), 0.24115, epsilon); 25 EXPECT_NEAR(function->GetValue(0.35), 0.30323, epsilon); 26 EXPECT_NEAR(function->GetValue(0.4), 0.36761, epsilon); 45 double epsilon = 0.00015; local 71 double epsilon = 0.00015; local [all...] |
/external/chromium_org/v8/test/mjsunit/ |
H A D | sin-cos.js | 118 var epsilon = 0.0000001; variable 121 test_inputs.push(0 + epsilon); 122 test_inputs.push(0 - epsilon); 124 test_inputs.push(Math.PI/2 + epsilon); 125 test_inputs.push(Math.PI/2 - epsilon); 127 test_inputs.push(Math.PI + epsilon); 128 test_inputs.push(Math.PI - epsilon); 130 test_inputs.push(- 2*Math.PI + epsilon); 131 test_inputs.push(- 2*Math.PI - epsilon); 165 function assertError(expected, x, epsilon) { [all...] |
/external/eigen/Eigen/src/Geometry/ |
H A D | EulerAngles.h | 40 const Scalar epsilon = NumTraits<Scalar>::dummy_precision(); local 51 if (s > epsilon) 66 if (c > epsilon)
|
/external/eigen/test/eigen2/ |
H A D | eigen2_prec_inverse_4x4.cpp | 24 template<typename T> inline typename NumTraits<T>::Real epsilon() function 26 return std::numeric_limits<typename NumTraits<T>::Real>::epsilon(); 42 double error = double( (m*inv-MatrixType::Identity()).norm() / epsilon<Scalar>() ); 60 } while(absdet < 10 * epsilon<Scalar>()); 62 double error = double( (m*inv-MatrixType::Identity()).norm() * absdet / epsilon<Scalar>() );
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | Utils.java | 27 public final static boolean close(float a, float b, float epsilon) { argument 28 return Math.abs(a - b) < epsilon;
|
/external/chromium_org/third_party/WebKit/Source/platform/animation/ |
H A D | UnitBezier.h | 65 double solveCurveX(double x, double epsilon) argument 80 if (fabs (x2) < epsilon) 95 if (fabs(x2 - x) < epsilon) 108 // Evaluates y at the given x. The epsilon parameter provides a hint as to the required 110 double solve(double x, double epsilon) argument 116 return sampleCurveY(solveCurveX(x, 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/ |
H A D | quad_unittest.cc | 99 float epsilon = std::numeric_limits<float>::epsilon(); local 100 PointF a2(1 + epsilon / 2, 1 + epsilon / 2); 101 PointF b2(2 + epsilon / 2, 1 + epsilon / 2); 102 PointF c2(2 + epsilon / 2, 2 + epsilon / 2); 103 PointF d2(1 + epsilon / 2, 2 + epsilon / [all...] |
H A D | matrix3_f.cc | 104 if (std::numeric_limits<float>::epsilon() > std::abs(determinant)) 126 const float epsilon = std::numeric_limits<float>::epsilon(); local 127 if (std::abs(data_[M01] - data_[M10]) > epsilon || 128 std::abs(data_[M02] - data_[M20]) > epsilon || 129 std::abs(data_[M12] - data_[M21]) > epsilon) { 140 bool diagonal = std::abs(p) < epsilon;
|
/external/libvorbis/lib/ |
H A D | lpc.c | 65 double epsilon; local 80 epsilon=1e-9*aut[0]+1e-10; 85 if(error<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/ceres-solver/internal/ceres/ |
H A D | polynomial_test.cc | 93 double epsilon) { 108 ExpectArraysClose(N, real.data(), real_roots, epsilon); 113 ExpectArraysClose(N, imaginary.data(), zeros.data(), epsilon); 90 RunPolynomialTestRealRoots(const double (&real_roots)[N], bool use_real, bool use_imaginary, double epsilon) argument
|
/external/chromium_org/media/base/ |
H A D | audio_bus_unittest.cc | 41 // Verify values for each channel in |result| are within |epsilon| of 42 // |expected|. If |epsilon| exactly equals 0, uses FLOAT_EQ macro. 44 float epsilon) { 50 if (epsilon == 0) { 54 epsilon); 277 // Biased uint8 calculations have poor precision, so the epsilon here is 43 VerifyBusWithEpsilon(const AudioBus* result, const AudioBus* expected, float epsilon) argument
|
H A D | audio_renderer_mixer_unittest.cc | 37 // Tuple of <input sampling rate, output sampling rate, epsilon>. 99 bool ValidateAudioData(int index, int frames, float scale, double epsilon) { argument 104 if (error > epsilon) { 106 audio_bus_->channel(i)[j], epsilon)
|
/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/srec/srec/include/ |
H A D | comp_stats.h | 84 CS_CLOCK epsilon; member in struct:COMP_STATS_t
|
/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkPathOpsTypes.cpp | 10 static bool arguments_denormalized(float a, float b, int epsilon) { argument 11 float denormalizedCheck = FLT_EPSILON * epsilon / 2; 17 static bool equal_ulps(float a, float b, int epsilon, int depsilon) { argument 27 return aBits < bBits + epsilon && bBits < aBits + epsilon; 30 static bool d_equal_ulps(float a, float b, int epsilon) { argument 37 return aBits < bBits + epsilon && bBits < aBits + epsilon; 40 static bool not_equal_ulps(float a, float b, int epsilon) { argument 44 if (arguments_denormalized(a, b, epsilon)) { 53 d_not_equal_ulps(float a, float b, int epsilon) argument 63 less_ulps(float a, float b, int epsilon) argument 76 less_or_equal_ulps(float a, float b, int epsilon) argument [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | mangle-ms.cpp | 139 void epsilon(int a[][10][20]) {} function 140 // CHECK: @"\01?epsilon@@YAXQAY19BE@H@Z" 141 // X64: @"\01?epsilon@@YAXQEAY19BE@H@Z"
|
/external/skia/src/pathops/ |
H A D | SkPathOpsTypes.cpp | 10 static bool arguments_denormalized(float a, float b, int epsilon) { argument 11 float denormalizedCheck = FLT_EPSILON * epsilon / 2; 17 static bool equal_ulps(float a, float b, int epsilon, int depsilon) { argument 27 return aBits < bBits + epsilon && bBits < aBits + epsilon; 30 static bool d_equal_ulps(float a, float b, int epsilon) { argument 37 return aBits < bBits + epsilon && bBits < aBits + epsilon; 40 static bool not_equal_ulps(float a, float b, int epsilon) { argument 44 if (arguments_denormalized(a, b, epsilon)) { 53 d_not_equal_ulps(float a, float b, int epsilon) argument 63 less_ulps(float a, float b, int epsilon) argument 76 less_or_equal_ulps(float a, float b, int epsilon) argument [all...] |
/external/stlport/test/unit/ |
H A D | num_put_get_test.cpp | 58 float epsilon = numeric_limits<float>::epsilon(); local 59 return val <= ref + epsilon && val >= ref - epsilon; 64 double epsilon = numeric_limits<double>::epsilon(); local 65 return val <= ref + epsilon && val >= ref - epsilon;
|
/external/valgrind/main/drd/tests/ |
H A D | omp_matinv.c | 262 /** Compute epsilon for the numeric type elem_t. Epsilon is defined as the 267 static elem_t epsilon() function 324 eps = epsilon(); 334 printf("error = %g; epsilon = %g; error / (epsilon * n) = %g\n",
|
/external/chromium/chrome/browser/ui/views/infobars/ |
H A D | infobar_view.cc | 180 const SkScalar epsilon = 0.01f; local 181 fill_path_->rLineTo(-epsilon, 0); 183 fill_path_->rLineTo(epsilon - (arrow_fill_half_width * 2), 0);
|
/external/chromium_org/chrome/browser/ui/views/infobars/ |
H A D | infobar_view.cc | 223 const SkScalar epsilon = 0.01f; local 224 fill_path_.rLineTo(-epsilon, 0); 226 fill_path_.rLineTo(epsilon - (arrow_fill_half_width * 2), 0);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | AutoTableLayout.cpp | 219 // We substitute 0 percent by (epsilon / percentScaleFactor) percent in two places below to avoid division by zero. 221 const float epsilon = 1 / 128.0f; local 230 float logicalWidth = static_cast<float>(m_layoutStruct[i].effectiveMaxLogicalWidth) * 100 / max(percent, epsilon); 239 maxNonPercent = maxNonPercent * 100 / max(remainingPercent, epsilon);
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
H A D | AudioBus.cpp | 455 // If the gain is within epsilon of totalDesiredGain, we can skip dezippering. 457 const float epsilon = 0.001f; local 462 unsigned framesToDezipper = (gainDiff < epsilon) ? 0 : framesToProcess;
|