Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/stubs/
Dtype_traits.h70 template <class T> struct is_floating_point;
125 template <class T> struct is_floating_point : false_type { };
126 template<> struct is_floating_point<float> : true_type { };
127 template<> struct is_floating_point<double> : true_type { };
128 template<> struct is_floating_point<long double> : true_type { };
129 template <class T> struct is_floating_point<const T>
130 : is_floating_point<T> { };
131 template <class T> struct is_floating_point<volatile T>
132 : is_floating_point<T> { };
133 template <class T> struct is_floating_point<const volatile T>
[all …]
Dtype_traits_unittest.cc204 EXPECT_TRUE(is_floating_point<float>::value); in TEST()
205 EXPECT_TRUE(is_floating_point<double>::value); in TEST()
206 EXPECT_TRUE(is_floating_point<long double>::value); in TEST()
209 EXPECT_FALSE(is_floating_point<void>::value); in TEST()
210 EXPECT_FALSE(is_floating_point<long>::value); in TEST()
211 EXPECT_FALSE(is_floating_point<string>::value); in TEST()
212 EXPECT_FALSE(is_floating_point<float*>::value); in TEST()
213 EXPECT_FALSE(is_floating_point<A>::value); in TEST()
214 EXPECT_FALSE((is_floating_point<pair<int, int> >::value)); in TEST()
218 EXPECT_TRUE(is_floating_point<const float>::value); in TEST()
[all …]
/external/libcxx/test/std/numerics/complex.number/cmplx.over/
Dproj.pass.cpp34 test(T x, typename std::enable_if<std::is_floating_point<T>::value>::type* = 0) in test()
43 !std::is_floating_point<T>::value>::type* = 0) in test()
Dconj.pass.cpp34 test(T x, typename std::enable_if<std::is_floating_point<T>::value>::type* = 0) in test()
43 !std::is_floating_point<T>::value>::type* = 0) in test()
/external/libcxx/test/std/utilities/time/time.traits/time.traits.is_fp/
Dtreat_as_floating_point.pass.cpp21 static_assert((std::is_base_of<std::is_floating_point<T>, in test()
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
Drvalue_ref.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_rvalue_ref()
Dlvalue_ref.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_lvalue_ref()
Dmember_object_pointer.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_member_object_pointer_imp()
Dclass.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_class_imp()
Dvoid.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_void_imp()
Dfloating_point.pass.cpp24 static_assert( std::is_floating_point<T>::value, ""); in test_floating_point_imp()
Dpointer.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_pointer_imp()
Denum.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_enum_imp()
Dunion.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_union_imp()
Dnullptr.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_nullptr_imp()
Darray.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_array_imp()
Dintegral.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_integral_imp()
Dfunction.pass.cpp35 static_assert(!std::is_floating_point<T>::value, ""); in test()
Dmember_function_pointer_no_variadics.pass.cpp25 static_assert(!std::is_floating_point<T>::value, ""); in test_member_function_pointer_imp()
Dmember_function_pointer.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_member_function_pointer_imp()
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
Dsignaling_NaN.pass.cpp44 test_imp<T>(std::is_floating_point<T>()); in test()
Dquiet_NaN.pass.cpp44 test_imp<T>(std::is_floating_point<T>()); in test()
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/
Dmeta.unary.cat.pass.cpp61 static_assert(ex::is_floating_point_v<T> == std::is_floating_point<T>::value, ""); in main()
66 static_assert(ex::is_floating_point_v<T> == std::is_floating_point<T>::value, ""); in main()
/external/llvm/include/llvm/Support/
Dtype_traits.h69 !std::is_floating_point<UnderlyingT>::value &&
/external/libcxx/include/experimental/
Dtype_traits32 = is_floating_point<T>::value;
207 = is_floating_point<_Tp>::value;

12