Home
last modified time | relevance | path

Searched full:is_floating_point (Results 1 – 25 of 645) sorted by relevance

12345678910>>...26

/external/sdv/vsomeip/third_party/boost/type_traits/test/
Dis_floating_point_test.cpp10 # include <boost/type_traits/is_floating_point.hpp>
15 TT_TEST_BEGIN(is_floating_point)
17 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_floating_point<float>::value, true);
18 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_floating_point<float const>::value, true);
19 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_floating_point<float volatile>::value, true);
20 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_floating_point<float const volatile>::value, true);
22 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_floating_point<double>::value, true);
23 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_floating_point<double const>::value, true);
24 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_floating_point<double volatile>::value, true);
25 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_floating_point<double const volatile>::value, true);
[all …]
/external/sdv/vsomeip/third_party/boost/type_traits/include/boost/type_traits/
Dis_floating_point.hpp16 template <class T> struct is_floating_point : public false_type{}; struct
17 template <class T> struct is_floating_point<const T> : public is_floating_point<T>{}; struct
18 template <class T> struct is_floating_point<volatile const T> : public is_floating_point<T>{}; struct
19 template <class T> struct is_floating_point<volatile T> : public is_floating_point<T>{}; struct
20 template<> struct is_floating_point<float> : public true_type{}; struct
21 template<> struct is_floating_point<double> : public true_type{}; struct
22 template<> struct is_floating_point<long double> : public true_type{}; struct
25 template<> struct is_floating_point<__float128> : public true_type{}; struct
/external/sdv/vsomeip/third_party/boost/type_traits/doc/
Dis_floating_point.qbk8 [section:is_floating_point is_floating_point]
10 struct is_floating_point : public __tof {};
19 __header ` #include <boost/type_traits/is_floating_point.hpp>` or ` #include <boost/type_traits.hpp…
23 [:`is_floating_point<float>` inherits from `__true_type`.]
25 [:`is_floating_point<double>::type` is the type `__true_type`.]
27 [:`is_floating_point<long double>::value` is an integral constant
30 [:`is_floating_point<T>::value_type` is the type `bool`.]
/external/cronet/tot/third_party/libc++/src/test/std/utilities/meta/meta.unary/meta.unary.cat/
Dis_floating_point.pass.cpp11 // is_floating_point
20 static_assert( std::is_floating_point<T>::value, ""); in test_is_floating_point()
21 static_assert( std::is_floating_point<const T>::value, ""); in test_is_floating_point()
22 static_assert( std::is_floating_point<volatile T>::value, ""); in test_is_floating_point()
23 static_assert( std::is_floating_point<const volatile T>::value, ""); in test_is_floating_point()
35 static_assert(!std::is_floating_point<T>::value, ""); in test_is_not_floating_point()
36 static_assert(!std::is_floating_point<const T>::value, ""); in test_is_not_floating_point()
37 static_assert(!std::is_floating_point<volatile T>::value, ""); in test_is_not_floating_point()
38 static_assert(!std::is_floating_point<const volatile T>::value, ""); in test_is_not_floating_point()
/external/cronet/stable/third_party/libc++/src/test/std/utilities/meta/meta.unary/meta.unary.cat/
Dis_floating_point.pass.cpp11 // is_floating_point
20 static_assert( std::is_floating_point<T>::value, ""); in test_is_floating_point()
21 static_assert( std::is_floating_point<const T>::value, ""); in test_is_floating_point()
22 static_assert( std::is_floating_point<volatile T>::value, ""); in test_is_floating_point()
23 static_assert( std::is_floating_point<const volatile T>::value, ""); in test_is_floating_point()
35 static_assert(!std::is_floating_point<T>::value, ""); in test_is_not_floating_point()
36 static_assert(!std::is_floating_point<const T>::value, ""); in test_is_not_floating_point()
37 static_assert(!std::is_floating_point<volatile T>::value, ""); in test_is_not_floating_point()
38 static_assert(!std::is_floating_point<const volatile T>::value, ""); in test_is_not_floating_point()
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
Dis_floating_point.pass.cpp12 // is_floating_point
21 static_assert( std::is_floating_point<T>::value, ""); in test_is_floating_point()
22 static_assert( std::is_floating_point<const T>::value, ""); in test_is_floating_point()
23 static_assert( std::is_floating_point<volatile T>::value, ""); in test_is_floating_point()
24 static_assert( std::is_floating_point<const volatile T>::value, ""); in test_is_floating_point()
36 static_assert(!std::is_floating_point<T>::value, ""); in test_is_not_floating_point()
37 static_assert(!std::is_floating_point<const T>::value, ""); in test_is_not_floating_point()
38 static_assert(!std::is_floating_point<volatile T>::value, ""); in test_is_not_floating_point()
39 static_assert(!std::is_floating_point<const volatile T>::value, ""); in test_is_not_floating_point()
/external/sdv/vsomeip/third_party/boost/atomic/include/boost/atomic/detail/type_traits/
Dis_floating_point.hpp9 * \file atomic/detail/type_traits/is_floating_point.hpp
11 * This header defines \c is_floating_point type trait
22 #include <boost/type_traits/is_floating_point.hpp>
34 using std::is_floating_point;
36 using boost::is_floating_point;
/external/ComputeLibrary/tests/framework/instruments/
DMeasurement.h51 : v{ 0 }, is_floating_point(is_floating) in Value()
59 if(value.is_floating_point)
85 if(is_floating_point)
104 if(is_floating_point)
123 if(is_floating_point)
142 Value res(is_floating_point);
143 if(is_floating_point)
162 if(is_floating_point)
181 if(is_floating_point)
200 if(variance.is_floating_point) in relative_standard_deviation()
[all …]
DInstrumentsStats.cpp34 …max(nullptr), _median(nullptr), _mean(measurements.begin()->value().is_floating_point), _stddev(0.… in InstrumentsStats()
47 …ments.begin(), measurements.end(), Measurement::Value(_min->value().is_floating_point), add_measur… in InstrumentsStats()
51 std::vector<Measurement::Value> diff(measurements.size(), _min->value().is_floating_point); in InstrumentsStats()
56 …oduct(diff.begin(), diff.end(), diff.begin(), Measurement::Value(_min->value().is_floating_point)); in InstrumentsStats()
/external/pytorch/torch/csrc/jit/operator_upgraders/
Dupgraders_entry.cpp45 if (self.is_floating_point() or other.is_floating_point()):
55 if (self.is_floating_point() or isinstance(other, float)):
65 if (self.is_floating_point() or other.is_floating_point() or out.is_floating_point()):
75 if (self.is_floating_point() or other.is_floating_point()):
85 if (self.is_floating_point() or isinstance(other, float)):
/external/tensorflow/tensorflow/lite/kernels/
Dcpu_backend_gemm_params.h115 std::is_floating_point<AccumScalar>::value
142 DstScalar clamp_min = std::is_floating_point<DstScalar>::value
146 DstScalar clamp_max = std::is_floating_point<DstScalar>::value
208 static_assert(!std::is_floating_point<LhsScalar>::value, "");
209 static_assert(!std::is_floating_point<RhsScalar>::value, "");
210 static_assert(!std::is_floating_point<AccumScalar>::value, "");
219 static_assert(std::is_floating_point<LhsScalar>::value, "");
220 static_assert(std::is_floating_point<RhsScalar>::value, "");
221 static_assert(std::is_floating_point<AccumScalar>::value, "");
222 static_assert(std::is_floating_point<DstScalar>::value, "");
/external/ComputeLibrary/support/
DRounding.h60 template <typename T, ARM_COMPUTE_REQUIRES_TA(traits::is_floating_point<T>::value)>
75 template <typename T, ARM_COMPUTE_REQUIRES_TA(traits::is_floating_point<T>::value)>
90 template <typename T, ARM_COMPUTE_REQUIRES_TA(traits::is_floating_point<T>::value)>
105 template <typename T, ARM_COMPUTE_REQUIRES_TA(traits::is_floating_point<T>::value)>
120 template <typename T, ARM_COMPUTE_REQUIRES_TA(traits::is_floating_point<T>::value)>
134 template <typename T, ARM_COMPUTE_REQUIRES_TA(traits::is_floating_point<T>::value)>
149 template <typename T, ARM_COMPUTE_REQUIRES_TA(traits::is_floating_point<T>::value)>
179 template <typename T, ARM_COMPUTE_REQUIRES_TA(traits::is_floating_point<T>::value)>
DToolchainSupport.h69 template <typename T, typename = typename std::enable_if<std::is_floating_point<T>::value>::type>
84 template <typename T, typename = typename std::enable_if<std::is_floating_point<T>::value>::type>
99 template <typename T, typename = typename std::enable_if<std::is_floating_point<T>::value>::type>
115 template <typename T, typename = typename std::enable_if<std::is_floating_point<T>::value>::type>
132 template < typename T, typename = typename std::enable_if < std::is_floating_point<T>::value
183 template <typename T, typename = typename std::enable_if<std::is_floating_point<T>::value>::type>
199 template <typename T, typename = typename std::enable_if<std::is_floating_point<T>::value>::type>
214 template <typename T, typename = typename std::enable_if<std::is_floating_point<T>::value>::type>
230 template <typename T, typename = typename std::enable_if<std::is_floating_point<T>::value>::type>
247 template < typename T, typename = typename std::enable_if < std::is_floating_point<T>::value
/external/ComputeLibrary/arm_compute/core/utils/misc/
DTraits.h37 struct is_floating_point : public std::is_floating_point<T> struct
42 struct is_floating_point<half> : public std::true_type
48 struct is_floating_point<__fp16> : public std::true_type
/external/cronet/tot/third_party/llvm-libc/src/src/__support/CPP/type_traits/
Dis_floating_point.h1 //===-- is_floating_point type_traits ---------------------------*- C++ -*-===//
20 // is_floating_point
21 template <typename T> struct is_floating_point { struct
43 is_floating_point<T>::value; argument
/external/cronet/stable/third_party/llvm-libc/src/src/__support/CPP/type_traits/
Dis_floating_point.h1 //===-- is_floating_point type_traits ---------------------------*- C++ -*-===//
20 // is_floating_point
21 template <typename T> struct is_floating_point { struct
43 is_floating_point<T>::value; argument
/external/llvm-libc/src/__support/CPP/type_traits/
Dis_floating_point.h1 //===-- is_floating_point type_traits ---------------------------*- C++ -*-===//
20 // is_floating_point
21 template <typename T> struct is_floating_point { struct
43 is_floating_point<T>::value; argument
/external/armnn/profiling/common/include/
DNumericCast.hpp56 static_assert(!std::is_floating_point<Source>::value && !std::is_floating_point<Dest>::value, in numeric_cast()
84 static_assert(!std::is_floating_point<Dest>::value, "numeric_cast doesn't cast to float."); in numeric_cast()
105 static_assert(!std::is_floating_point<Source>::value && !std::is_floating_point<Dest>::value, in numeric_cast()
/external/cronet/stable/third_party/libc++/src/test/libcxx/numerics/complex.number/
Dcmplx.over.pow.pass.cpp31 typename std::enable_if<(std::is_same<T, usr_tag>::value && std::is_floating_point<U>::value) ||
32 (std::is_floating_point<T>::value && std::is_same<U, usr_tag>::value),
39 typename std::enable_if<(std::is_same<T, usr_tag>::value && std::is_floating_point<U>::value) ||
40 (std::is_floating_point<T>::value && std::is_same<U, usr_tag>::value),
47 typename std::enable_if<(std::is_same<T, usr_tag>::value && std::is_floating_point<U>::value) ||
48 (std::is_floating_point<T>::value && std::is_same<U, usr_tag>::value),
/external/cronet/tot/third_party/libc++/src/test/libcxx/numerics/complex.number/
Dcmplx.over.pow.pass.cpp31 typename std::enable_if<(std::is_same<T, usr_tag>::value && std::is_floating_point<U>::value) ||
32 (std::is_floating_point<T>::value && std::is_same<U, usr_tag>::value),
39 typename std::enable_if<(std::is_same<T, usr_tag>::value && std::is_floating_point<U>::value) ||
40 (std::is_floating_point<T>::value && std::is_same<U, usr_tag>::value),
47 typename std::enable_if<(std::is_same<T, usr_tag>::value && std::is_floating_point<U>::value) ||
48 (std::is_floating_point<T>::value && std::is_same<U, usr_tag>::value),
/external/armnn/src/armnnUtils/
DHalf.hpp30 struct is_floating_point<armnn::Half> struct
35 struct is_floating_point<const armnn::Half> struct
40 struct is_floating_point<volatile armnn::Half> struct
/external/armnn/include/armnn/utility/
DNumericCast.hpp80 std::is_floating_point<Source>::value &&
81 std::is_floating_point<Dest>::value,
105 std::is_floating_point<Source>::value &&
133 std::is_floating_point<Dest>::value,
181 std::is_floating_point<Dest>::value &&
228 std::is_floating_point<Source>::value,
/external/webrtc/rtc_base/numerics/
Dsafe_minmax.h184 std::is_floating_point<type>::value ==
185 std::is_floating_point<type>::value,
201 static_assert(IsIntlike<T1>::value || std::is_floating_point<T1>::value,
203 static_assert(IsIntlike<T2>::value || std::is_floating_point<T2>::value,
218 static_assert(IsIntlike<T1>::value || std::is_floating_point<T1>::value,
220 static_assert(IsIntlike<T2>::value || std::is_floating_point<T2>::value,
321 static_assert(IsIntlike<H>::value || std::is_floating_point<H>::value,
323 static_assert(IsIntlike<T>::value || std::is_floating_point<T>::value,
325 static_assert(IsIntlike<L>::value || std::is_floating_point<L>::value,
/external/pytorch/torch/csrc/jit/passes/onnx/
Deval_peephole.cpp84 if (!bnScale.is_floating_point() || !bnB.is_floating_point() || in fuseConvBatchNorm()
85 !bnMean.is_floating_point() || !bnVar.is_floating_point() || in fuseConvBatchNorm()
86 !convW.is_floating_point() || bnScale.dim() != 1 || bnB.dim() != 1 || in fuseConvBatchNorm()
/external/pytorch/test/jit/
Dtest_save_load_for_op_version.py80 if self.is_floating_point() or other.is_floating_point():
133 if self.is_floating_point() or other.is_floating_point():
184 self.is_floating_point()
185 or other.is_floating_point()
186 or out.is_floating_point()
243 if self.is_floating_point():
305 if self.is_floating_point():
347 elif fn is torch.div or a.is_floating_point():
376 if self.is_floating_point():

12345678910>>...26