/external/ceres-solver/internal/ceres/ |
D | polynomial_test.cc | 46 const double kEpsilon = 1e-13; variable 142 RunPolynomialTestRealRoots(roots, true, true, kEpsilon); in TEST() 147 RunPolynomialTestRealRoots(roots, true, true, kEpsilon); in TEST() 152 RunPolynomialTestRealRoots(roots, true, true, kEpsilon); in TEST() 157 RunPolynomialTestRealRoots(roots, true, true, kEpsilon); in TEST() 162 RunPolynomialTestRealRoots(roots, true, true, kEpsilon); in TEST() 181 ExpectClose(real(0), 42.42, kEpsilon); in TEST() 182 ExpectClose(real(1), 42.42, kEpsilon); in TEST() 183 ExpectClose(std::abs(imag(0)), 4.2, kEpsilon); in TEST() 184 ExpectClose(std::abs(imag(1)), 4.2, kEpsilon); in TEST() [all …]
|
D | partitioned_matrix_view_test.cc | 47 const double kEpsilon = 1e-14; variable 100 EXPECT_NEAR(y1(i), y2(i), kEpsilon); in TEST_F() 120 EXPECT_NEAR(y1(i), y2(i), kEpsilon); in TEST_F() 141 kEpsilon); in TEST_F() 155 EXPECT_NEAR(block_diagonal_ee->values()[0], 10.0, kEpsilon); in TEST_F() 156 EXPECT_NEAR(block_diagonal_ee->values()[1], 155.0, kEpsilon); in TEST_F() 168 EXPECT_NEAR(block_diagonal_ff->values()[0], 70.0, kEpsilon); in TEST_F() 169 EXPECT_NEAR(block_diagonal_ff->values()[1], 17.0, kEpsilon); in TEST_F() 170 EXPECT_NEAR(block_diagonal_ff->values()[2], 37.0, kEpsilon); in TEST_F()
|
D | implicit_schur_complement_test.cc | 53 const double kEpsilon = 1e-14; variable 144 if ((y - z).norm() > kEpsilon) { in TestImplicitSchurComplement() 153 if ((isc.rhs() - rhs).norm() > kEpsilon) { in TestImplicitSchurComplement() 168 if ((sol - reference_solution).norm() > kEpsilon) { in TestImplicitSchurComplement()
|
D | iterative_schur_complement_solver_test.cc | 57 const double kEpsilon = 1e-14; variable 102 if (diff < kEpsilon) { in TestSolver() 107 << " solution by " << diff << " which is more than " << kEpsilon; in TestSolver()
|
D | dogleg_strategy_test.cc | 122 const double kEpsilon = std::numeric_limits<double>::epsilon(); variable 148 EXPECT_LE(x_.norm(), options_.initial_radius * (1.0 + 4.0 * kEpsilon)); in TEST_F() 168 EXPECT_LE(x_.norm(), options_.initial_radius * (1.0 + 4.0 * kEpsilon)); in TEST_F()
|
/external/ceres-solver/google3/ |
D | jet_traits.h | 40 static const Type kEpsilon; 75 …eres::Jet<T, N> MathLimits<ceres::Jet<T, N> >::kEpsilon = ceres::Jet<T, N>(MathLimits<T>::…
|
/external/webrtc/webrtc/common_audio/resampler/ |
D | sinc_resampler_unittest.cc | 142 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/v8/src/ |
D | counters.h | 418 const double kEpsilon = 1e-6; in AddSample() local 420 if (current_ms < last_ms_ + kEpsilon) { in AddSample() 426 if (end_ms <= current_ms + kEpsilon) { in AddSample() 432 for (i = 0; i < kMaxSamples && end_ms <= current_ms + kEpsilon; i++) { in AddSample() 456 aggregate_value_ = current_ms > start_ms_ + kEpsilon in AddSample()
|
/external/v8/test/cctest/ |
D | cctest.h | 560 const double kEpsilon = 1e-10; in CheckDoubleEquals() local 561 CHECK_LE(expected, actual + kEpsilon); in CheckDoubleEquals() 562 CHECK_GE(expected, actual - kEpsilon); in CheckDoubleEquals()
|
/external/piex/src/ |
D | piex.cc | 489 const float kEpsilon = 0.9f; in NefGetPreviewData() local 502 kEpsilon || in NefGetPreviewData() 505 kEpsilon) { in NefGetPreviewData()
|
/external/libchrome/base/metrics/ |
D | field_trial.cc | 62 const double kEpsilon = 1e-8; in GetGroupBoundaryValue() local 64 static_cast<FieldTrial::Probability>(divisor * entropy_value + kEpsilon); in GetGroupBoundaryValue()
|