HomeSort by relevance Sort by last modified time
    Searched refs:epsilon (Results 1 - 25 of 211) sorted by null

1 2 3 4 5 6 7 8 9

  /external/chromium_org/ui/gfx/geometry/
cubic_bezier_unittest.cc 16 double epsilon = 0.00015; local
18 EXPECT_NEAR(function.Solve(0), 0, epsilon);
19 EXPECT_NEAR(function.Solve(0.05), 0.01136, epsilon);
20 EXPECT_NEAR(function.Solve(0.1), 0.03978, epsilon);
21 EXPECT_NEAR(function.Solve(0.15), 0.079780, epsilon);
22 EXPECT_NEAR(function.Solve(0.2), 0.12803, epsilon);
23 EXPECT_NEAR(function.Solve(0.25), 0.18235, epsilon);
24 EXPECT_NEAR(function.Solve(0.3), 0.24115, epsilon);
25 EXPECT_NEAR(function.Solve(0.35), 0.30323, epsilon);
26 EXPECT_NEAR(function.Solve(0.4), 0.36761, epsilon);
44 double epsilon = 0.00015; local
70 double epsilon = 0.00015; local
    [all...]
  /external/stlport/test/unit/
math_aux.h 21 return (ref - val) <= __STD numeric_limits<_Tp>::epsilon();
24 return (val - ref) <= __STD numeric_limits<_Tp>::epsilon();
  /ndk/tests/device/test-gnustl-full/unit/
math_aux.h 21 return (ref - val) <= __STD numeric_limits<_Tp>::epsilon();
24 return (val - ref) <= __STD numeric_limits<_Tp>::epsilon();
  /ndk/tests/device/test-stlport/unit/
math_aux.h 21 return (ref - val) <= __STD numeric_limits<_Tp>::epsilon();
24 return (val - ref) <= __STD numeric_limits<_Tp>::epsilon();
  /external/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
epsilon.pass.cpp 12 // epsilon()
22 assert(std::numeric_limits<T>::epsilon() == expected);
23 assert(std::numeric_limits<const T>::epsilon() == expected);
24 assert(std::numeric_limits<volatile T>::epsilon() == expected);
25 assert(std::numeric_limits<const volatile T>::epsilon() == expected);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
epsilon.pass.cpp 12 // epsilon()
22 assert(std::numeric_limits<T>::epsilon() == expected);
23 assert(std::numeric_limits<const T>::epsilon() == expected);
24 assert(std::numeric_limits<volatile T>::epsilon() == expected);
25 assert(std::numeric_limits<const volatile T>::epsilon() == expected);
  /external/chromium_org/third_party/skia/src/pathops/
SkPathOpsTypes.cpp 10 static bool arguments_denormalized(float a, float b, int epsilon) {
11 float denormalizedCheck = FLT_EPSILON * epsilon / 2;
17 static bool equal_ulps(float a, float b, int epsilon, int depsilon) {
27 return aBits < bBits + epsilon && bBits < aBits + epsilon;
30 static bool d_equal_ulps(float a, float b, int epsilon) {
37 return aBits < bBits + epsilon && bBits < aBits + epsilon;
40 static bool not_equal_ulps(float a, float b, int epsilon) {
44 if (arguments_denormalized(a, b, epsilon)) {
    [all...]
  /external/skia/src/pathops/
SkPathOpsTypes.cpp 10 static bool arguments_denormalized(float a, float b, int epsilon) {
11 float denormalizedCheck = FLT_EPSILON * epsilon / 2;
17 static bool equal_ulps(float a, float b, int epsilon, int depsilon) {
27 return aBits < bBits + epsilon && bBits < aBits + epsilon;
30 static bool d_equal_ulps(float a, float b, int epsilon) {
37 return aBits < bBits + epsilon && bBits < aBits + epsilon;
40 static bool not_equal_ulps(float a, float b, int epsilon) {
44 if (arguments_denormalized(a, b, epsilon)) {
    [all...]
  /art/test/053-wait-some/src/
Main.java 60 long epsilon = delay / 10; local
61 if (epsilon > 50) {
62 epsilon = 50;
65 long min = delay - epsilon;
66 long max = delay + epsilon;
  /external/chromium_org/third_party/WebKit/Source/platform/geometry/
FloatSize.cpp 53 return fabs(m_width) < numeric_limits<float>::epsilon() && fabs(m_height) < numeric_limits<float>::epsilon();
  /external/chromium_org/third_party/WebKit/Source/platform/animation/
UnitBezier.h 95 double solveCurveX(double x, double epsilon)
110 if (fabs (x2) < epsilon)
125 if (fabs(x2 - x) < epsilon)
138 // Evaluates y at the given x. The epsilon parameter provides a hint as to the required
140 double solve(double x, double epsilon)
146 return sampleCurveY(solveCurveX(x, epsilon));
  /external/replicaisland/src/com/replica/replicaisland/
Utils.java 21 private static final float EPSILON = 0.0001f;
24 return close(a, b, EPSILON);
27 public final static boolean close(float a, float b, float epsilon) {
28 return Math.abs(a - b) < epsilon;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/line/
LineWidth.h 49 bool fitsOnLine() const { return currentWidth() <= (m_availableWidth + LayoutUnit::epsilon()); }
50 bool fitsOnLine(float extra) const { return currentWidth() + extra <= (m_availableWidth + LayoutUnit::epsilon()); }
53 return currentWidth() - (whitespaceTreatment == ExcludeWhitespace ? trailingWhitespaceWidth() : 0) + extra <= (m_availableWidth + LayoutUnit::epsilon());
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
SoftLandingInterpolator.java 42 final float epsilon = Math.min(mI / 2f, (1f - mI) / 2f); local
43 bottom = mI - epsilon;
44 top = mI + epsilon;
  /external/eigen/test/eigen2/
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/chromium_org/third_party/skia/experimental/Intersection/
CubicIntersection_TestData.cpp 13 {{1 + PointEpsilon - std::numeric_limits<double>::epsilon(), 1},
14 {1, 1 + PointEpsilon - std::numeric_limits<double>::epsilon()}, {1, 1}, {1, 1}},
15 {{1 + PointEpsilon/2 - std::numeric_limits<double>::epsilon(), 1},
16 {1 - (PointEpsilon/2 - std::numeric_limits<double>::epsilon()), 1}, {1, 1}, {1, 1}}
22 {{1 + PointEpsilon + std::numeric_limits<double>::epsilon(), 1}, {1, 1 + PointEpsilon}, {1, 1}, {1, 1}},
23 {{1 + PointEpsilon/2 + std::numeric_limits<double>::epsilon(), 1}, {1 - PointEpsilon/2, 1}, {1, 1}, {1, 1}}
205 {{1, 1}, {3, 3}, {2, 2}, {4, 4+F}}, // INVESTIGATE: why the epsilon is bigger
206 {{1, 1+F}, {2, 2}, {4, 4}, {3, 3}}, // INVESTIGATE: why the epsilon is bigger
255 {{1, 1}, {4, 4}, {3, 3}, {2+G, 2}}, // INVESTIGATE: why the epsilon is smaller
259 {{2+G, 2}, {3, 3}, {4, 4}, {1, 1}}, // INVESTIGATE: why the epsilon is smalle
    [all...]
  /external/eigen/Eigen/src/Core/
NumTraits.h 45 * \li An epsilon() function which, unlike std::numeric_limits::epsilon(), returns a \a Real instead of a \a T.
46 * \li A dummy_precision() function returning a weak epsilon value. It is mainly used as a default
71 static inline Real epsilon() { return std::numeric_limits<T>::epsilon(); }
120 static inline Real epsilon() { return NumTraits<Real>::epsilon(); }
144 static inline RealScalar epsilon() { return NumTraits<RealScalar>::epsilon(); }
  /external/skia/experimental/Intersection/
CubicIntersection_TestData.cpp 13 {{1 + PointEpsilon - std::numeric_limits<double>::epsilon(), 1},
14 {1, 1 + PointEpsilon - std::numeric_limits<double>::epsilon()}, {1, 1}, {1, 1}},
15 {{1 + PointEpsilon/2 - std::numeric_limits<double>::epsilon(), 1},
16 {1 - (PointEpsilon/2 - std::numeric_limits<double>::epsilon()), 1}, {1, 1}, {1, 1}}
22 {{1 + PointEpsilon + std::numeric_limits<double>::epsilon(), 1}, {1, 1 + PointEpsilon}, {1, 1}, {1, 1}},
23 {{1 + PointEpsilon/2 + std::numeric_limits<double>::epsilon(), 1}, {1 - PointEpsilon/2, 1}, {1, 1}, {1, 1}}
205 {{1, 1}, {3, 3}, {2, 2}, {4, 4+F}}, // INVESTIGATE: why the epsilon is bigger
206 {{1, 1+F}, {2, 2}, {4, 4}, {3, 3}}, // INVESTIGATE: why the epsilon is bigger
255 {{1, 1}, {4, 4}, {3, 3}, {2+G, 2}}, // INVESTIGATE: why the epsilon is smaller
259 {{2+G, 2}, {3, 3}, {4, 4}, {1, 1}}, // INVESTIGATE: why the epsilon is smalle
    [all...]
  /external/eigen/test/
prec_inverse_4x4.cpp 22 double error = double( (m*inv-MatrixType::Identity()).norm() / NumTraits<Scalar>::epsilon() );
42 } while(absdet < NumTraits<Scalar>::epsilon());
44 double error = double( (m*inv-MatrixType::Identity()).norm() * absdet / NumTraits<Scalar>::epsilon() );
  /external/eigen/unsupported/Eigen/src/NonLinearOptimization/
chkder.h 25 const Scalar eps = sqrt(NumTraits<Scalar>::epsilon());
26 const Scalar epsf = chkder_factor * NumTraits<Scalar>::epsilon();
56 if (temp > NumTraits<Scalar>::epsilon() && temp < eps)
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
ExternalVideoSurfaceContainerTest.java 42 final float epsilon = 0.000001f; local
46 if (Math.abs(rect.width() - widthCss) < epsilon
47 && Math.abs(rect.height() - heightCss) < epsilon) {
  /external/libvorbis/lib/
lpc.c 65 double epsilon; local
80 epsilon=1e-9*aut[0]+1e-10;
85 if(error<epsilon){
  /external/chromium_org/native_client_sdk/src/examples/demo/flock/
frame_counter.cc 31 if (fabs(elapsed_time) > std::numeric_limits<double>::epsilon()) {
  /external/deqp/framework/delibs/decpp/
deRandom.cpp 91 const float epsilon = 0.01f; local
94 DE_TEST_ASSERT(de::abs(expected[i] - rnd.getFloat()) < epsilon);
101 const float epsilon = 0.01f;
104 DE_TEST_ASSERT(de::abs(expected[i] - rnd.getFloat(-542.2f, 1248.7f)) < epsilon);
  /external/chromium_org/media/audio/
simple_sources_unittest.cc 37 std::numeric_limits<float>::epsilon());
43 std::numeric_limits<float>::epsilon());

Completed in 915 milliseconds

1 2 3 4 5 6 7 8 9