Home
last modified time | relevance | path

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

12

/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/s2/util/math/
H A Dmathlimits.cc24 const int MathLimits<Type>::kMax10Exp;
28 const Type MathLimits<Type>::kPosMin; \
29 const Type MathLimits<Type>::kPosMax; \
30 const Type MathLimits<Type>::kMin; \
31 const Type MathLimits<Type>::kMax; \
38 const Type MathLimits<Type>::kNegMax;
49 const Type MathLimits<Type>::kMin = -MathLimits<Type>::kPosMax; \
50 const Type MathLimits<Type>::kMax = MathLimits<Type>::kPosMax; \
51 const Type MathLimits<Type>::kNegMin = -MathLimits<Type>::kPosMin; \
52 const Type MathLimits<Type>::kNegMax = -MathLimits<Type>::kPosMax; \
[all …]
H A Dmathutil.h43 template<typename T> struct MathLimits { struct
434 static double NaN() { return MathLimits<double>::kNaN; } in NaN()
504 return MathLimits<T>::IsNaN(x) || x > y ? x : y; in Max()
513 return MathLimits<T>::IsNaN(x) || x < y ? x : y; in Min()
601 return AbsDiff(x, y) <= MathLimits<T>::kStdError; in NearByMargin()
666 if (!MathLimits<T>::IsFinite(x) || !MathLimits<T>::IsFinite(y)) in AlmostEquals()
670 MathUtil::Abs<T>(y) <= MathLimits<T>::kStdError) in AlmostEquals()
727 if (MathLimits<T>::kIsInteger) { in WithinFraction()
731 return (MathLimits<T>::IsFinite(x) || MathLimits<T>::IsFinite(y)) && in WithinFraction()
746 if (MathLimits<T>::kIsInteger) { in WithinFractionOrMargin()
[all …]
H A Dmathlimits.h26 template<typename T> struct MathLimits { struct
128 struct MathLimits<IntType> { \
148 struct MathLimits<IntType> { \
207 struct MathLimits<FP_Type> { \
H A Dmathutil.cc21 COMPILE_ASSERT(!MathLimits<FloatIn>::kIsInteger, FloatIn_is_integer);
22 COMPILE_ASSERT(MathLimits<IntOut>::kIsInteger, IntOut_is_not_integer);
51 MathLimits<double>::kEpsilon)) { in RealRootsForQuadratic()
/dports/lang/spidermonkey60/firefox-60.9.0/toolkit/components/protobuf/src/google/protobuf/stubs/
H A Dmathlimits.cc58 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; \
67 const Type MathLimits<Type>::kStdError;
72 const Type MathLimits<Type>::kNegMax;
107 const Type MathLimits<Type>::kMin = -MathLimits<Type>::kPosMax; \
108 const Type MathLimits<Type>::kMax = MathLimits<Type>::kPosMax; \
109 const Type MathLimits<Type>::kNegMin = -MathLimits<Type>::kPosMin; \
[all …]
H A Dmathutil.h62 if (value == T(0) || MathLimits<T>::IsNaN(value)) { in Sign()
81 return MathLimits<T>::IsNaN(x) || x > y ? x : y; in Max()
97 static typename MathLimits<T>::UnsignedType AbsDiff(const T x, const T y) { in AbsDiff()
99 typedef typename MathLimits<T>::UnsignedType R; in AbsDiff()
126 if (MathLimits<T>::kIsInteger) { in WithinFractionOrMargin()
130 if (!MathLimits<T>::IsFinite(x) && !MathLimits<T>::IsFinite(y)) { in WithinFractionOrMargin()
H A Dmathlimits.h76 template<typename T> struct MathLimits { struct
178 struct LIBPROTOBUF_EXPORT MathLimits<IntType> { \
198 struct LIBPROTOBUF_EXPORT MathLimits<IntType> { \
268 struct LIBPROTOBUF_EXPORT MathLimits<FP_Type> { \
/dports/graphics/opencv/opencv-4.5.3/3rdparty/protobuf/src/google/protobuf/stubs/
H A Dmathlimits.cc58 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; \
67 const Type MathLimits<Type>::kStdError;
72 const Type MathLimits<Type>::kNegMax;
107 const Type MathLimits<Type>::kMin = -MathLimits<Type>::kPosMax; \
108 const Type MathLimits<Type>::kMax = MathLimits<Type>::kPosMax; \
109 const Type MathLimits<Type>::kNegMin = -MathLimits<Type>::kPosMin; \
[all …]
H A Dmathutil.h62 if (value == T(0) || MathLimits<T>::IsNaN(value)) { in Sign()
81 return MathLimits<T>::IsNaN(x) || x > y ? x : y; in Max()
97 static typename MathLimits<T>::UnsignedType AbsDiff(const T x, const T y) { in AbsDiff()
99 typedef typename MathLimits<T>::UnsignedType R; in AbsDiff()
126 if (MathLimits<T>::kIsInteger) { in WithinFractionOrMargin()
130 if (!MathLimits<T>::IsFinite(x) && !MathLimits<T>::IsFinite(y)) { in WithinFractionOrMargin()
H A Dmathlimits.h76 template<typename T> struct MathLimits { struct
178 struct LIBPROTOBUF_EXPORT MathLimits<IntType> { \
198 struct LIBPROTOBUF_EXPORT MathLimits<IntType> { \
268 struct LIBPROTOBUF_EXPORT MathLimits<FP_Type> { \
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/src/google/protobuf/stubs/
H A Dmathlimits.cc68 const Type MathLimits<Type>::kPosMin = PREFIX##_MIN; \
69 const Type MathLimits<Type>::kPosMax = PREFIX##_MAX; \
70 const Type MathLimits<Type>::kMin = -MathLimits<Type>::kPosMax; \
71 const Type MathLimits<Type>::kMax = MathLimits<Type>::kPosMax; \
72 const Type MathLimits<Type>::kNegMin = -MathLimits<Type>::kPosMin; \
73 const Type MathLimits<Type>::kNegMax = -MathLimits<Type>::kPosMax; \
74 const Type MathLimits<Type>::kEpsilon = PREFIX##_EPSILON; \
76 const Type MathLimits<Type>::kStdError = \
79 const Type MathLimits<Type>::kNaN = HUGE_VAL - HUGE_VAL; \
80 const Type MathLimits<Type>::kPosInf = HUGE_VAL; \
[all …]
H A Dmathutil.h62 if (value == T(0) || MathLimits<T>::IsNaN(value)) { in Sign()
81 return MathLimits<T>::IsNaN(x) || x > y ? x : y; in Max()
97 static typename MathLimits<T>::UnsignedType AbsDiff(const T x, const T y) { in AbsDiff()
99 typedef typename MathLimits<T>::UnsignedType R; in AbsDiff()
126 if (MathLimits<T>::kIsInteger) { in WithinFractionOrMargin()
129 if (!MathLimits<T>::IsFinite(x) || !MathLimits<T>::IsFinite(y)) { in WithinFractionOrMargin()
H A Dmathlimits.h78 template<typename T> struct MathLimits { struct
180 struct PROTOBUF_EXPORT MathLimits<IntType> { \
200 struct PROTOBUF_EXPORT MathLimits<IntType> { \
270 struct PROTOBUF_EXPORT MathLimits<FP_Type> { \
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/stubs/
H A Dmathlimits.cc68 const Type MathLimits<Type>::kPosMin = PREFIX##_MIN; \
69 const Type MathLimits<Type>::kPosMax = PREFIX##_MAX; \
70 const Type MathLimits<Type>::kMin = -MathLimits<Type>::kPosMax; \
71 const Type MathLimits<Type>::kMax = MathLimits<Type>::kPosMax; \
72 const Type MathLimits<Type>::kNegMin = -MathLimits<Type>::kPosMin; \
73 const Type MathLimits<Type>::kNegMax = -MathLimits<Type>::kPosMax; \
74 const Type MathLimits<Type>::kEpsilon = PREFIX##_EPSILON; \
76 const Type MathLimits<Type>::kStdError = \
79 const Type MathLimits<Type>::kNaN = HUGE_VAL - HUGE_VAL; \
80 const Type MathLimits<Type>::kPosInf = HUGE_VAL; \
[all …]
H A Dmathutil.h62 if (value == T(0) || MathLimits<T>::IsNaN(value)) { in Sign()
81 return MathLimits<T>::IsNaN(x) || x > y ? x : y; in Max()
97 static typename MathLimits<T>::UnsignedType AbsDiff(const T x, const T y) { in AbsDiff()
99 typedef typename MathLimits<T>::UnsignedType R; in AbsDiff()
126 if (MathLimits<T>::kIsInteger) { in WithinFractionOrMargin()
129 if (!MathLimits<T>::IsFinite(x) || !MathLimits<T>::IsFinite(y)) { in WithinFractionOrMargin()
H A Dmathlimits.h78 template<typename T> struct MathLimits { struct
180 struct PROTOBUF_EXPORT MathLimits<IntType> { \
200 struct PROTOBUF_EXPORT MathLimits<IntType> { \
270 struct PROTOBUF_EXPORT MathLimits<FP_Type> { \
/dports/lang/spidermonkey60/firefox-60.9.0/toolkit/components/protobuf/src/google/protobuf/util/
H A 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()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/util/
H A Dfield_comparator.cc178 if (treat_nan_as_equal_ && MathLimits<T>::IsNaN(value_1) && in CompareDoubleOrFloat()
179 MathLimits<T>::IsNaN(value_2)) { in CompareDoubleOrFloat()
184 if (treat_nan_as_equal_ && MathLimits<T>::IsNaN(value_1) && in CompareDoubleOrFloat()
185 MathLimits<T>::IsNaN(value_2)) { in CompareDoubleOrFloat()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/src/google/protobuf/util/
H A Dfield_comparator.cc178 if (treat_nan_as_equal_ && MathLimits<T>::IsNaN(value_1) && in CompareDoubleOrFloat()
179 MathLimits<T>::IsNaN(value_2)) { in CompareDoubleOrFloat()
184 if (treat_nan_as_equal_ && MathLimits<T>::IsNaN(value_1) && in CompareDoubleOrFloat()
185 MathLimits<T>::IsNaN(value_2)) { in CompareDoubleOrFloat()
/dports/graphics/opencv/opencv-4.5.3/3rdparty/protobuf/src/google/protobuf/util/
H A 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()
/dports/lang/spidermonkey60/firefox-60.9.0/toolkit/components/protobuf/src/google/protobuf/util/internal/
H A Dutility.cc374 if (MathLimits<double>::IsPosInf(value)) return "Infinity"; in DoubleAsString()
375 if (MathLimits<double>::IsNegInf(value)) return "-Infinity"; in DoubleAsString()
376 if (MathLimits<double>::IsNaN(value)) return "NaN"; in DoubleAsString()
382 if (MathLimits<float>::IsFinite(value)) return SimpleFtoa(value); in FloatAsString()
392 if (MathLimits<double>::IsInf(double_value) || in SafeStrToFloat()
393 MathLimits<double>::IsNaN(double_value)) in SafeStrToFloat()
H A Djson_objectwriter.cc117 if (MathLimits<double>::IsFinite(value)) { in RenderDouble()
126 if (MathLimits<float>::IsFinite(value)) { in RenderFloat()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/util/internal/
H A Dutility.cc379 if (MathLimits<double>::IsPosInf(value)) return "Infinity"; in DoubleAsString()
380 if (MathLimits<double>::IsNegInf(value)) return "-Infinity"; in DoubleAsString()
381 if (MathLimits<double>::IsNaN(value)) return "NaN"; in DoubleAsString()
387 if (MathLimits<float>::IsFinite(value)) return SimpleFtoa(value); in FloatAsString()
397 if (MathLimits<double>::IsInf(double_value) || in SafeStrToFloat()
398 MathLimits<double>::IsNaN(double_value)) in SafeStrToFloat()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/src/google/protobuf/util/internal/
H A Dutility.cc379 if (MathLimits<double>::IsPosInf(value)) return "Infinity"; in DoubleAsString()
380 if (MathLimits<double>::IsNegInf(value)) return "-Infinity"; in DoubleAsString()
381 if (MathLimits<double>::IsNaN(value)) return "NaN"; in DoubleAsString()
387 if (MathLimits<float>::IsFinite(value)) return SimpleFtoa(value); in FloatAsString()
397 if (MathLimits<double>::IsInf(double_value) || in SafeStrToFloat()
398 MathLimits<double>::IsNaN(double_value)) in SafeStrToFloat()
/dports/graphics/opencv/opencv-4.5.3/3rdparty/protobuf/src/google/protobuf/util/internal/
H A Dutility.cc374 if (MathLimits<double>::IsPosInf(value)) return "Infinity"; in DoubleAsString()
375 if (MathLimits<double>::IsNegInf(value)) return "-Infinity"; in DoubleAsString()
376 if (MathLimits<double>::IsNaN(value)) return "NaN"; in DoubleAsString()
382 if (MathLimits<float>::IsFinite(value)) return SimpleFtoa(value); in FloatAsString()
392 if (MathLimits<double>::IsInf(double_value) || in SafeStrToFloat()
393 MathLimits<double>::IsNaN(double_value)) in SafeStrToFloat()

12