Searched refs:is_floating_point (Results 1 – 25 of 29) sorted by relevance
12
/external/protobuf/src/google/protobuf/stubs/ |
D | type_traits.h | 70 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 …]
|
D | type_traits_unittest.cc | 204 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/ |
D | proj.pass.cpp | 34 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()
|
D | conj.pass.cpp | 34 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/ |
D | treat_as_floating_point.pass.cpp | 21 static_assert((std::is_base_of<std::is_floating_point<T>, in test()
|
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/ |
D | rvalue_ref.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, ""); in test_rvalue_ref()
|
D | lvalue_ref.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, ""); in test_lvalue_ref()
|
D | member_object_pointer.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, ""); in test_member_object_pointer_imp()
|
D | class.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, ""); in test_class_imp()
|
D | void.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, ""); in test_void_imp()
|
D | floating_point.pass.cpp | 24 static_assert( std::is_floating_point<T>::value, ""); in test_floating_point_imp()
|
D | pointer.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, ""); in test_pointer_imp()
|
D | enum.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, ""); in test_enum_imp()
|
D | union.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, ""); in test_union_imp()
|
D | nullptr.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, ""); in test_nullptr_imp()
|
D | array.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, ""); in test_array_imp()
|
D | integral.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, ""); in test_integral_imp()
|
D | function.pass.cpp | 35 static_assert(!std::is_floating_point<T>::value, ""); in test()
|
D | member_function_pointer_no_variadics.pass.cpp | 25 static_assert(!std::is_floating_point<T>::value, ""); in test_member_function_pointer_imp()
|
D | member_function_pointer.pass.cpp | 24 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/ |
D | signaling_NaN.pass.cpp | 44 test_imp<T>(std::is_floating_point<T>()); in test()
|
D | quiet_NaN.pass.cpp | 44 test_imp<T>(std::is_floating_point<T>()); in test()
|
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/ |
D | meta.unary.cat.pass.cpp | 61 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/ |
D | type_traits.h | 69 !std::is_floating_point<UnderlyingT>::value &&
|
/external/libcxx/include/experimental/ |
D | type_traits | 32 = is_floating_point<T>::value; 207 = is_floating_point<_Tp>::value;
|
12