/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/ceres-solver/include/ceres/ |
H A D | jet.h | 38 // denoted with the greek symbol epsilon, such that e != 0 but e^2 = 0. Dual 652 static inline Real epsilon() { return Real(std::numeric_limits<T>::epsilon()); } function in struct:Eigen::NumTraits
|
H A D | rotation.h | 340 // We use a threshold much larger then the machine epsilon, because 398 if (theta2 > T(std::numeric_limits<double>::epsilon())) { 584 if (theta2 > T(std::numeric_limits<double>::epsilon())) {
|
/external/ceres-solver/internal/ceres/ |
H A D | dogleg_strategy_test.cc | 122 const double kEpsilon = std::numeric_limits<double>::epsilon();
|
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
|
H A D | rotation_test.cc | 56 static double const kTolerance = numeric_limits<double>::epsilon() * 10; 580 std::numeric_limits<double>::epsilon()); 719 static_cast<int>(2 * log(numeric_limits<double>::epsilon())/log(10.0));
|
/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/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
H A D | ExternalVideoSurfaceContainerTest.java | 42 final float epsilon = 0.000001f; 46 if (Math.abs(rect.width() - widthCss) < epsilon 47 && Math.abs(rect.height() - heightCss) < epsilon) {
|
/external/chromium_org/cc/base/ |
H A D | math_util.cc | 69 // We want to compute point p such that p.w == epsilon, where epsilon is a 73 // p.w = epsilon = (1-t) * h1.w + (t) * h2.w 85 // ...or any positive non-zero small epsilon 647 return std::abs(value) < std::numeric_limits<double>::epsilon();
|
/external/chromium_org/cc/layers/ |
H A D | picture_layer_impl_unittest.cc | 2834 std::numeric_limits<float>::epsilon()) { 2849 std::numeric_limits<float>::epsilon()) { 2877 std::numeric_limits<float>::epsilon()) {
|
/external/chromium_org/cc/output/ |
H A D | gl_renderer.cc | 1483 if (alpha < std::numeric_limits<float>::epsilon() && 1589 // minus epsilon for one pixel layers. The resulting clamp region
|
/external/chromium_org/cc/quads/ |
H A D | draw_polygon_unittest.cc | 20 EXPECT_TRUE(std::abs(a - b) < std::numeric_limits<float>::epsilon());
|
/external/chromium_org/chrome/browser/thumbnails/ |
H A D | content_analysis.cc | 121 if (value_max - value_min <= std::numeric_limits<float>::epsilon() * 100.0f) {
|
/external/chromium_org/chrome/browser/ui/views/infobars/ |
H A D | infobar_view.cc | 179 const SkScalar epsilon = 0.01f; local 180 fill_path_.rLineTo(-epsilon, 0); 182 fill_path_.rLineTo(epsilon - (arrow_fill_half_width * 2), 0);
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
H A D | DeviceSensorsTest.java | 342 final double epsilon = 0.001; 344 assertEquals(expectedAngles[i], values[i], epsilon);
|
/external/chromium_org/media/audio/ |
H A D | simple_sources_unittest.cc | 37 std::numeric_limits<float>::epsilon()); 43 std::numeric_limits<float>::epsilon());
|
/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)
|
H A D | sinc_resampler.cc | 204 std::numeric_limits<double>::epsilon()) {
|
/external/chromium_org/native_client_sdk/src/examples/demo/flock/ |
H A D | frame_counter.cc | 31 if (fabs(elapsed_time) > std::numeric_limits<double>::epsilon()) {
|
H A D | vector2.h | 42 if (fabs(mag) < std::numeric_limits<double>::epsilon())
|
/external/chromium_org/ppapi/tests/ |
H A D | test_case.h | 588 std::numeric_limits<double>::epsilon())) {
|
H A D | test_x509_certificate_private.cc | 37 std::numeric_limits<double>::epsilon();
|
/external/chromium_org/skia/ext/ |
H A D | image_operations.cc | 55 if (x > -std::numeric_limits<float>::epsilon() && 56 x < std::numeric_limits<float>::epsilon()) 81 if (x > -std::numeric_limits<float>::epsilon() && 82 x < std::numeric_limits<float>::epsilon())
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | FontSize.cpp | 44 if (fabsf(specifiedSize) < std::numeric_limits<float>::epsilon())
|