Home
last modified time | relevance | path

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

12345678910>>...730

/aosp_15_r20/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 …]
/aosp_15_r20/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
/aosp_15_r20/external/ComputeLibrary/tests/framework/instruments/
H A 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 …]
/aosp_15_r20/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
H A 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()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/meta/meta.unary/meta.unary.cat/
H A 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()
/aosp_15_r20/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`.]
/aosp_15_r20/external/tensorflow/tensorflow/lite/kernels/
H A 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, "");
H A Dcpu_backend_gemm_test.cc76 std::is_floating_point<Scalar>::value in MakeDeterministicPseudoRandomVector()
81 std::is_floating_point<Scalar>::value in MakeDeterministicPseudoRandomVector()
189 if (std::is_floating_point<AccumScalar>::value) { in CheckErrorStats()
404 if (!std::is_floating_point<LhsScalar>::value && in TestSomeGemm()
421 if (!std::is_floating_point<RhsScalar>::value && in TestSomeGemm()
438 if (!std::is_floating_point<DstScalar>::value && in TestSomeGemm()
455 if (!std::is_floating_point<AccumScalar>::value) { in TestSomeGemm()
487 if (!use_golden && !std::is_floating_point<AccumScalar>::value) { in TestSomeGemm()
502 std::is_floating_point<AccumScalar>::value in TestSomeGemm()
548 if (!std::is_floating_point<LhsScalar>::value && in TestMaybeValidGemm()
[all …]
/aosp_15_r20/external/pytorch/torch/csrc/jit/operator_upgraders/
H A 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)):
/aosp_15_r20/external/ComputeLibrary/support/
H A 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
H A 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)>
/aosp_15_r20/external/pytorch/test/jit/
H A 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():
/aosp_15_r20/external/webrtc/rtc_base/numerics/
H A 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,
/aosp_15_r20/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;
/aosp_15_r20/external/armnn/include/armnn/utility/
H A 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,
/aosp_15_r20/external/armnn/profiling/common/include/
H A 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()
/aosp_15_r20/external/ruy/ruy/
H A Dmat.h212 ret.is_floating_point = std::is_floating_point<T>::value; in Create()
220 RUY_DCHECK_EQ(is_floating_point, Create<T>().is_floating_point); in AssertIs()
225 bool is_floating_point = false; member
231 type1.is_floating_point == type2.is_floating_point &&
268 typename std::conditional<std::is_floating_point<Scalar>::value, Scalar,
/aosp_15_r20/external/pigweed/pw_minimal_cpp_stdlib/public/
H A Dtype_traits99 struct is_floating_point : false_type {};
102 struct is_floating_point<float> : true_type {};
104 struct is_floating_point<double> : true_type {};
106 struct is_floating_point<long double> : true_type {};
111 struct is_floating_point
112 : impl::is_floating_point<typename remove_cv<T>::type> {};
115 inline constexpr bool is_floating_point_v = is_floating_point<T>::value;
/aosp_15_r20/external/pigweed/pw_minimal_cpp_stdlib/public/pw_minimal_cpp_stdlib/internal/
H A Dtype_traits.h99 struct is_floating_point : false_type {};
102 struct is_floating_point<float> : true_type {};
104 struct is_floating_point<double> : true_type {};
106 struct is_floating_point<long double> : true_type {};
111 struct is_floating_point
112 : impl::is_floating_point<typename remove_cv<T>::type> {};
115 inline constexpr bool is_floating_point_v = is_floating_point<T>::value;
/aosp_15_r20/prebuilts/android-emulator/darwin-x86_64/include/flatbuffers/
H A Dstl_emulation.h139 template <typename T> using is_floating_point = std::is_floating_point<T>; variable
151 template <typename T> using is_floating_point = variable
152 std::tr1::is_floating_point<T>;
175 template <typename T> struct is_floating_point :
176 public std::is_floating_point<T> {};
/aosp_15_r20/external/pytorch/torch/csrc/jit/passes/onnx/
H A 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()
/aosp_15_r20/prebuilts/vndk/v34/x86/include/external/libcxx/include/
Dcmath556 _LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type
568 _LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type
576 _LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type
588 _LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type
596 _LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type
608 _LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type
619 static_assert(is_floating_point<_FloatT>::value, "must be a floating point type");
/aosp_15_r20/prebuilts/vndk/v33/x86/include/external/libcxx/include/
Dcmath556 _LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type
568 _LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type
576 _LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type
588 _LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type
596 _LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type
608 _LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type
619 static_assert(is_floating_point<_FloatT>::value, "must be a floating point type");
/aosp_15_r20/prebuilts/vndk/v32/arm/include/external/libcxx/include/
Dcmath556 _LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type
568 _LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type
576 _LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type
588 _LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type
596 _LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type
608 _LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type
619 static_assert(is_floating_point<_FloatT>::value, "must be a floating point type");
/aosp_15_r20/prebuilts/vndk/v31/arm/include/external/libcxx/include/
Dcmath556 _LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type
568 _LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type
576 _LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type
588 _LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type
596 _LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type
608 _LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type
619 static_assert(is_floating_point<_FloatT>::value, "must be a floating point type");

12345678910>>...730