Home
last modified time | relevance | path

Searched refs:kEpsilon (Results 1 – 10 of 10) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dmathlimits.cc66 const Type MathLimits<Type>::kEpsilon; \
111 const Type MathLimits<Type>::kEpsilon = PREFIX##_EPSILON; \
114 32 * (DBL_EPSILON * DBL_EPSILON > MathLimits<Type>::kEpsilon \
115 ? DBL_EPSILON * DBL_EPSILON : MathLimits<Type>::kEpsilon); \
Dmathlimits.h94 static const Type kEpsilon; member
180 static const Type kEpsilon = 1; \
198 static const Type kEpsilon = 1; \
259 static const Type kEpsilon; \
/external/skqp/tests/
DSkGaussFilterTest.cpp16 static constexpr double kEpsilon = 0.000001; variable
44 REPORTER_ASSERT(r, std::abs(golden[i] - result[i]) < kEpsilon); in DEF_TEST()
/external/skia/tests/
DSkGaussFilterTest.cpp16 static constexpr double kEpsilon = 0.000001; variable
44 REPORTER_ASSERT(r, std::abs(golden[i] - result[i]) < kEpsilon); in DEF_TEST()
/external/libchrome/ui/gfx/geometry/
Drect_f.cc215 static constexpr float kEpsilon = std::numeric_limits<float>::epsilon(); in ManhattanInternalDistance() local
216 float x = std::max(0.f, c.width() - width() - rect.width() + kEpsilon); in ManhattanInternalDistance()
217 float y = std::max(0.f, c.height() - height() - rect.height() + kEpsilon); in ManhattanInternalDistance()
/external/webrtc/webrtc/common_audio/resampler/
Dsinc_resampler_unittest.cc142 static const double kEpsilon = 0.00000005; in TEST() local
152 EXPECT_NEAR(result2, result, kEpsilon); in TEST()
161 EXPECT_NEAR(result2, result, kEpsilon); in TEST()
/external/piex/src/
Dpiex.cc496 const float kEpsilon = 0.9f; in NefGetPreviewData() local
509 kEpsilon || in NefGetPreviewData()
512 kEpsilon) { in NefGetPreviewData()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dbatch_normalization_test.cc194 const float kEpsilon = 1e-9f; in XLA_TEST_P() local
195 auto epsilon = ConstantR0<float>(&builder, kEpsilon); in XLA_TEST_P()
196 auto epsilon2 = ConstantR1<float>(&builder, {kEpsilon, kEpsilon}); in XLA_TEST_P()
/external/v8/src/
Dcounters.h589 const double kEpsilon = 1e-6; in AddSample() local
591 if (current_ms < last_ms_ + kEpsilon) { in AddSample()
597 if (end_ms <= current_ms + kEpsilon) { in AddSample()
603 for (i = 0; i < kMaxSamples && end_ms <= current_ms + kEpsilon; i++) { in AddSample()
627 aggregate_value_ = current_ms > start_ms_ + kEpsilon in AddSample()
/external/libchrome/base/metrics/
Dfield_trial.cc135 const double kEpsilon = 1e-8; in GetGroupBoundaryValue() local
137 static_cast<FieldTrial::Probability>(divisor * entropy_value + kEpsilon); in GetGroupBoundaryValue()