Home
last modified time | relevance | path

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

/external/eigen/Eigen/src/Core/util/
DMeta.h56 template<typename T> struct is_arithmetic { enum { value = false }; };
57 template<> struct is_arithmetic<float> { enum { value = true }; };
58 template<> struct is_arithmetic<double> { enum { value = true }; };
59 template<> struct is_arithmetic<long double> { enum { value = true }; };
60 template<> struct is_arithmetic<bool> { enum { value = true }; };
61 template<> struct is_arithmetic<char> { enum { value = true }; };
62 template<> struct is_arithmetic<signed char> { enum { value = true }; };
63 template<> struct is_arithmetic<unsigned char> { enum { value = true }; };
64 template<> struct is_arithmetic<signed short> { enum { value = true }; };
65 template<> struct is_arithmetic<unsigned short>{ enum { value = true }; };
[all …]
/external/libcxx/include/
Dcmath328 typename std::enable_if<std::is_arithmetic<_A1>::value, bool>::type
352 typename std::enable_if<std::is_arithmetic<_A1>::value, int>::type
376 typename std::enable_if<std::is_arithmetic<_A1>::value, bool>::type
400 typename std::enable_if<std::is_arithmetic<_A1>::value, bool>::type
424 typename std::enable_if<std::is_arithmetic<_A1>::value, bool>::type
448 typename std::enable_if<std::is_arithmetic<_A1>::value, bool>::type
474 std::is_arithmetic<_A1>::value &&
475 std::is_arithmetic<_A2>::value,
504 std::is_arithmetic<_A1>::value &&
505 std::is_arithmetic<_A2>::value,
[all …]
Dtype_traits47 template <class T> struct is_arithmetic;
520 // is_arithmetic
522 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_arithmetic
531 is_arithmetic<_Tp>::value> {};
536 : public integral_constant<bool, is_arithmetic<_Tp>::value ||
687 template <class _Tp, bool = is_arithmetic<_Tp>::value>
702 template <class _Tp, bool = is_arithmetic<_Tp>::value>
Dcomplex1189 is_arithmetic<_Up>::value,
1202 is_arithmetic<_Tp>::value,
Dlimits140 template <class _Tp, bool = is_arithmetic<_Tp>::value>
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/
Dmeta.unary.comp.pass.cpp37 static_assert(ex::is_arithmetic_v<T> == std::is_arithmetic<T>::value, ""); in main()
42 static_assert(ex::is_arithmetic_v<T> == std::is_arithmetic<T>::value, ""); in main()
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/
Drvalue_ref.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_rvalue_ref()
Dlvalue_ref.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_lvalue_ref()
Dvoid.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_void_imp()
Dclass.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_class_imp()
Dfloating_point.pass.cpp20 static_assert( std::is_arithmetic<T>::value, ""); in test_floating_point_imp()
Dmember_object_pointer.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_member_object_pointer_imp()
Denum.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_enum_imp()
Dunion.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_union_imp()
Dfunction.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_function_imp()
Dpointer.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_pointer_imp()
Dmember_function_pointer.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_member_function_pointer_imp()
Darray.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_array_imp()
Dintegral.pass.cpp20 static_assert( std::is_arithmetic<T>::value, ""); in test_integral_imp()
/external/eigen/Eigen/src/StlSupport/
Ddetails.h56 Eigen::internal::is_arithmetic<T>::value, \
/external/eigen/Eigen/src/Core/
DNumTraits.h57 RequireInitialization = internal::is_arithmetic<T>::value ? 0 : 1,
DDenseCoeffsBase.h18 …typedef typename conditional<is_arithmetic<T>::value, T, typename add_const_on_value_type<T>::type…
51 … typename internal::conditional<internal::is_arithmetic<Scalar>::value, Scalar, const Scalar>::type
/external/eigen/Eigen/src/Core/arch/SSE/
DPacketMath.h29 template<> struct is_arithmetic<__m128> { enum { value = true }; };
30 template<> struct is_arithmetic<__m128i> { enum { value = true }; };
31 template<> struct is_arithmetic<__m128d> { enum { value = true }; };
/external/libcxx/include/experimental/
Dtype_traits58 = is_arithmetic<T>::value;
245 = is_arithmetic<_Tp>::value;
/external/clang/test/SemaCXX/
Dtype-traits.cpp432 void is_arithmetic() in is_arithmetic() function