/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/ |
H A D | is_floating_point.pass.cpp | 12 // is_floating_point 21 static_assert( std::is_floating_point<T>::value, ""); 22 static_assert( std::is_floating_point<const T>::value, ""); 23 static_assert( std::is_floating_point<volatile T>::value, ""); 24 static_assert( std::is_floating_point<const volatile T>::value, ""); 36 static_assert(!std::is_floating_point<T>::value, ""); 37 static_assert(!std::is_floating_point<const T>::value, ""); 38 static_assert(!std::is_floating_point<volatile T>::value, ""); 39 static_assert(!std::is_floating_point<const volatile T>::value, "");
|
H A D | floating_point.pass.cpp | 25 static_assert( std::is_floating_point<T>::value, ""); 56 static_assert(!std::is_floating_point<incomplete_type>::value, "");
|
H A D | array.pass.cpp | 25 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | class.pass.cpp | 25 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | enum.pass.cpp | 25 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | integral.pass.cpp | 25 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | lvalue_ref.pass.cpp | 26 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | member_object_pointer.pass.cpp | 25 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | nullptr.pass.cpp | 26 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | pointer.pass.cpp | 26 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | rvalue_ref.pass.cpp | 27 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | union.pass.cpp | 25 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | void.pass.cpp | 25 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | function.pass.cpp | 36 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | member_function_pointer_no_variadics.pass.cpp | 27 static_assert(!std::is_floating_point<T>::value, "");
|
/external/libcxx/test/std/utilities/time/time.traits/time.traits.is_fp/ |
H A D | treat_as_floating_point.pass.cpp | 23 static_assert((std::is_base_of<std::is_floating_point<T>, 26 static_assert(std::is_floating_point<T>::value ==
|
/external/libcxx/test/std/numerics/complex.number/cmplx.over/ |
H A D | conj.pass.cpp | 34 test(T x, typename std::enable_if<std::is_floating_point<T>::value>::type* = 0) 43 !std::is_floating_point<T>::value>::type* = 0)
|
H A D | proj.pass.cpp | 34 test(T x, typename std::enable_if<std::is_floating_point<T>::value>::type* = 0) 43 !std::is_floating_point<T>::value>::type* = 0)
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | type_traits.h | 40 // is_floating_point 90 template <class T> struct is_floating_point; 150 // is_floating_point is false except for the built-in floating-point types. 152 template <class T> struct is_floating_point : false_type { }; struct in namespace:google::protobuf::internal 153 template<> struct is_floating_point<float> : true_type { }; struct in namespace:google::protobuf::internal 154 template<> struct is_floating_point<double> : true_type { }; struct in namespace:google::protobuf::internal 155 template<> struct is_floating_point<long double> : true_type { }; struct in namespace:google::protobuf::internal 156 template <class T> struct is_floating_point<const T> struct in namespace:google::protobuf::internal 157 : is_floating_point<T> { }; 158 template <class T> struct is_floating_point<volatil struct in namespace:google::protobuf::internal 160 template <class T> struct is_floating_point<const volatile T> struct in namespace:google::protobuf::internal [all...] |
H A D | type_traits_unittest.cc | 206 // Verify that is_floating_point is true for all floating-point types. 207 EXPECT_TRUE(is_floating_point<float>::value); 208 EXPECT_TRUE(is_floating_point<double>::value); 209 EXPECT_TRUE(is_floating_point<long double>::value); 211 // Verify that is_floating_point is false for a few non-float types. 212 EXPECT_FALSE(is_floating_point<void>::value); 213 EXPECT_FALSE(is_floating_point<long>::value); 214 EXPECT_FALSE(is_floating_point<string>::value); 215 EXPECT_FALSE(is_floating_point<float*>::value); 216 EXPECT_FALSE(is_floating_point< [all...] |
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/ |
H A D | quiet_NaN.pass.cpp | 44 test_imp<T>(std::is_floating_point<T>());
|
H A D | signaling_NaN.pass.cpp | 44 test_imp<T>(std::is_floating_point<T>());
|
/external/llvm/include/llvm/Support/ |
H A D | type_traits.h | 72 !std::is_floating_point<UnderlyingT>::value &&
|
/external/vixl/src/aarch64/ |
H A D | abi-aarch64.h | 87 const bool is_floating_point_type = std::is_floating_point<T>::value;
|
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/ |
H A D | meta.unary.cat.pass.cpp | 60 static_assert(ex::is_floating_point_v<T> == std::is_floating_point<T>::value, ""); 65 static_assert(ex::is_floating_point_v<T> == std::is_floating_point<T>::value, "");
|