Home
last modified time | relevance | path

Searched refs:MathLimits (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dmathlimits.cc55 const bool MathLimits<Type>::kIsSigned; \
56 const bool MathLimits<Type>::kIsInteger; \
57 const int MathLimits<Type>::kMin10Exp; \
58 const int MathLimits<Type>::kMax10Exp;
62 const Type MathLimits<Type>::kPosMin; \
63 const Type MathLimits<Type>::kPosMax; \
64 const Type MathLimits<Type>::kMin; \
65 const Type MathLimits<Type>::kMax; \
66 const Type MathLimits<Type>::kEpsilon; \
67 const Type MathLimits<Type>::kStdError;
[all …]
Dmathutil.h102 return MathLimits<T>::IsNaN(x) || x > y ? x : y; in Max()
118 static typename MathLimits<T>::UnsignedType AbsDiff(const T x, const T y) { in AbsDiff()
120 typedef typename MathLimits<T>::UnsignedType R; in AbsDiff()
147 if (MathLimits<T>::kIsInteger) { in WithinFractionOrMargin()
151 if (!MathLimits<T>::IsFinite(x) && !MathLimits<T>::IsFinite(y)) { in WithinFractionOrMargin()
Dmathlimits.h65 template<typename T> struct MathLimits { struct
167 struct LIBPROTOBUF_EXPORT MathLimits<IntType> { \
187 struct LIBPROTOBUF_EXPORT MathLimits<IntType> { \
246 struct LIBPROTOBUF_EXPORT MathLimits<FP_Type> { \
Dstrutil.cc1256 } else if (MathLimits<double>::IsNaN(value)) { in DoubleToBuffer()
1374 } else if (MathLimits<float>::IsNaN(value)) { in FloatToBuffer()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dfield_comparator.cc174 MathLimits<T>::IsNaN(value_1) && MathLimits<T>::IsNaN(value_2)) { in CompareDoubleOrFloat()
180 MathLimits<T>::IsNaN(value_1) && MathLimits<T>::IsNaN(value_2)) { in CompareDoubleOrFloat()
Dfield_comparator_test.cc255 message_1_.set_optional_float(MathLimits<float>::kNaN); in TEST_F()
256 message_2_.set_optional_float(MathLimits<float>::kNaN); in TEST_F()
257 message_1_.set_optional_double(MathLimits<double>::kNaN); in TEST_F()
258 message_2_.set_optional_double(MathLimits<double>::kNaN); in TEST_F()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dutility.cc330 if (MathLimits<double>::IsPosInf(value)) return "Infinity"; in DoubleAsString()
331 if (MathLimits<double>::IsNegInf(value)) return "-Infinity"; in DoubleAsString()
332 if (MathLimits<double>::IsNaN(value)) return "NaN"; in DoubleAsString()
338 if (MathLimits<float>::IsFinite(value)) return SimpleFtoa(value); in FloatAsString()
348 if (MathLimits<double>::IsInf(double_value) || in SafeStrToFloat()
349 MathLimits<double>::IsNaN(double_value)) in SafeStrToFloat()
Djson_objectwriter.cc117 if (MathLimits<double>::IsFinite(value)) { in RenderDouble()
126 if (MathLimits<float>::IsFinite(value)) { in RenderFloat()
Ddatapiece.cc99 if (MathLimits<From>::IsNaN(before)) { in FloatingPointConvertAndCheck()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/
Dcsharp_field_base.cc327 } else if (MathLimits<double>::IsNaN(value)) { in default_value()
338 } else if (MathLimits<float>::IsNaN(value)) { in default_value()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dtext_format_unittest.cc905 EXPECT_TRUE(MathLimits<double>::IsNaN(message.repeated_double(11))); in TEST_F()
906 EXPECT_TRUE(MathLimits<double>::IsNaN(message.repeated_double(12))); in TEST_F()