Home
last modified time | relevance | path

Searched refs:m_epsilon (Results 1 – 18 of 18) sorted by relevance

/external/catch2/include/internal/
Dcatch_approx.cpp29 : m_epsilon( std::numeric_limits<float>::epsilon()*100 ), in Approx()
56 …|| marginComparison(m_value, other, m_epsilon * (m_scale + std::fabs(std::isinf(m_value)? 0 : m_va… in equalityComparisonImpl()
70 m_epsilon = newEpsilon; in setEpsilon()
Dcatch_matchers_floating.cpp185 m_epsilon(epsilon){ in WithinRelMatcher()
186 … CATCH_ENFORCE(m_epsilon >= 0., "Relative comparison with epsilon < 0 does not make sense."); in WithinRelMatcher()
187 … CATCH_ENFORCE(m_epsilon < 1., "Relative comparison with epsilon >= 1 does not make sense."); in WithinRelMatcher()
191 const auto relMargin = m_epsilon * (std::max)(std::fabs(matchee), std::fabs(m_target)); in match()
198 sstr << "and " << m_target << " are within " << m_epsilon * 100. << "% of each other"; in describe()
Dcatch_approx.h38 approx.m_epsilon = m_epsilon; in operator()
113 double m_epsilon;
Dcatch_matchers_floating.h50 double m_epsilon; member
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderAdjacency.cpp162 , m_epsilon(0.00001F) in GeometryShaderAdjacency()
430 …:abs(result_adjacency_geometry_ptr[n] - m_test_data.m_expected_adjacency_geometry[n]) >= m_epsilon) in iterate()
437 << m_epsilon << " )" in iterate()
472 if (de::abs(result_geometry_ptr[n] - m_test_data.m_expected_geometry[n]) >= m_epsilon) in iterate()
479 << m_epsilon << " )" in iterate()
DesextcGeometryShaderAdjacency.hpp327 glw::GLfloat m_epsilon; member in glcts::GeometryShaderAdjacency
/external/eigen/Eigen/src/SparseCore/
DAmbiVector.h299 m_epsilon = epsilon; in m_vector()
312 while (m_currentEl>=0 && abs(llElements[m_currentEl].value)<=m_epsilon) in m_vector()
339 } while (m_cachedIndex<m_vector.m_end && abs(m_vector.m_buffer[m_cachedIndex])<=m_epsilon);
350 } while (m_currentEl>=0 && abs(llElements[m_currentEl].value)<=m_epsilon);
367 RealScalar m_epsilon; // epsilon used to prune zero coefficients variable
DSparseView.h56 : m_matrix(mat), m_reference(reference), m_epsilon(epsilon) {}
69 RealScalar epsilon() const { return m_epsilon; }
74 RealScalar m_epsilon;
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawDepthClampTests.cpp191 const float m_epsilon; member in vkt::Draw::__anonbde8231b0111::DepthClampTestInstance
213 , m_epsilon(epsilon) in DepthClampTestInstance()
405 if (std::abs(m_params.expectedValue - resultImage.getPixDepth(x,y,z)) >= m_epsilon) in iterate()
422 , m_epsilon(epsilon) in DepthClampTest()
474 return new DepthClampTestInstance(context, m_params, m_format, m_epsilon); in createInstance()
480 const float m_epsilon; member in vkt::Draw::__anonbde8231b0111::DepthClampTest
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferParamValueIntToFloatConversion.hpp129 static const glw::GLfloat m_epsilon; member in glcts::TextureBufferParamValueIntToFloatConversion
DesextcTextureBufferParamValueIntToFloatConversion.cpp41 const glw::GLfloat TextureBufferParamValueIntToFloatConversion::m_epsilon = 1.0f / 256.0f; member in glcts::TextureBufferParamValueIntToFloatConversion
226 if (de::abs(result[i] - (static_cast<glw::GLubyte>(i) / 255.0f)) > m_epsilon) in iterate()
/external/deqp/external/openglcts/modules/gl/
Dgl4cVertexAttrib64BitTest.cpp669 const GLdouble m_epsilon; member in VertexAttrib64Bit::GetVertexAttribTest
686 , m_epsilon(0.0) in GetVertexAttribTest()
1001 if ((b[i] > a[i] + m_epsilon) || (b[i] < a[i] - m_epsilon)) in compareDoubles()
Dgl4cGPUShaderFP64Tests.cpp12968 static const glw::GLdouble m_epsilon; member in gl4cts::BuiltinFunctionTest
12989 const glw::GLdouble BuiltinFunctionTest::m_epsilon = 0.00002; member in gl4cts::BuiltinFunctionTest
13851 if ((left_value != right_value) && (m_epsilon < de::abs(left_value - right_value)) && in compare()
15492 edge_case_present = (m_epsilon > de::abs(argument_1_component - argument_2_component)) && in isResultEdgeCase()
15493 (m_epsilon > de::abs(argument_1_component - actual_result_component)); in isResultEdgeCase()
Dgl4cShaderSubroutineTests.cpp1395 static const glw::GLfloat m_epsilon = 0.00001f; in compare() local
1397 if (m_epsilon < std::abs(right - left)) in compare()
/external/eigen/Eigen/src/Core/
DMatrixBase.h262 … const typename NumTraits<Scalar>::Real& m_epsilon = NumTraits<Scalar>::dummy_precision()) const;
/external/bcc/tests/cc/
Dcatch.hpp2624 : m_epsilon( std::numeric_limits<float>::epsilon()*100 ), in Approx()
2630 : m_epsilon( other.m_epsilon ), in Approx()
2641 approx.epsilon( m_epsilon ); in operator ()()
2648 …return fabs( lhs - rhs.m_value ) < rhs.m_epsilon * (rhs.m_scale + (std::max)( fabs(lhs), fabs(rhs.… in operator ==()
2664 m_epsilon = newEpsilon; in epsilon()
2680 double m_epsilon; member in Catch::Detail::Approx
/external/catch2/single_include/catch2/
Dcatch.hpp3068 approx.m_epsilon = m_epsilon; in operator ()()
3142 double m_epsilon; member in Catch::Detail::Approx
3430 double m_epsilon; member
7813 : m_epsilon( std::numeric_limits<float>::epsilon()*100 ), in Approx()
7839 …|| marginComparison(m_value, other, m_epsilon * (m_scale + std::fabs(std::isinf(m_value)? 0 : m_va… in equalityComparisonImpl()
7853 m_epsilon = newEpsilon; in setEpsilon()
11518 m_epsilon(epsilon){ in WithinRelMatcher()
11519 … CATCH_ENFORCE(m_epsilon >= 0., "Relative comparison with epsilon < 0 does not make sense."); in WithinRelMatcher()
11520 … CATCH_ENFORCE(m_epsilon < 1., "Relative comparison with epsilon >= 1 does not make sense."); in WithinRelMatcher()
11524 const auto relMargin = m_epsilon * (std::max)(std::fabs(matchee), std::fabs(m_target)); in match()
[all …]
/external/libabigail/tests/lib/
Dcatch.hpp3094 approx.m_epsilon = m_epsilon; in operator ()()
3168 double m_epsilon; member in Catch::Detail::Approx
3456 double m_epsilon; member
7864 : m_epsilon( std::numeric_limits<float>::epsilon()*100 ), in Approx()
7890 …|| marginComparison(m_value, other, m_epsilon * (m_scale + std::fabs(std::isinf(m_value)? 0 : m_va… in equalityComparisonImpl()
7904 m_epsilon = newEpsilon; in setEpsilon()
11580 m_epsilon(epsilon){ in WithinRelMatcher()
11581 … CATCH_ENFORCE(m_epsilon >= 0., "Relative comparison with epsilon < 0 does not make sense."); in WithinRelMatcher()
11582 … CATCH_ENFORCE(m_epsilon < 1., "Relative comparison with epsilon >= 1 does not make sense."); in WithinRelMatcher()
11586 const auto relMargin = m_epsilon * (std::max)(std::fabs(matchee), std::fabs(m_target)); in match()
[all …]