Home
last modified time | relevance | path

Searched refs:AlmostEquals (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dmathutil.h65 bool AlmostEquals(T a, T b) { in AlmostEquals() function
69 inline bool AlmostEquals(float a, float b) { in AlmostEquals() function
74 inline bool AlmostEquals(double a, double b) { in AlmostEquals() function
90 static bool AlmostEquals(T a, T b) { in AlmostEquals() function
91 return ::google::protobuf::internal::AlmostEquals(a, b); in AlmostEquals()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dfield_comparator.cc189 return MathUtil::AlmostEquals(value_1, value_2); in CompareDoubleOrFloat()
Dfield_comparator_test.cc225 ASSERT_TRUE(MathUtil::AlmostEquals(message_1_.optional_float(), in TEST_F()
227 ASSERT_TRUE(MathUtil::AlmostEquals(message_1_.optional_double(), in TEST_F()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Ddatapiece.cc104 if (MathUtil::AlmostEquals<To>(after, before)) { in FloatingPointConvertAndCheck()