/external/libcxx/test/utilities/time/time.traits/time.traits.is_fp/ |
H A D | treat_as_floating_point.pass.cpp | 21 static_assert((std::is_base_of<std::is_floating_point<T>,
|
/external/libcxx/test/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/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | type_traits.h | 39 // is_floating_point 70 template <class T> struct is_floating_point; 123 // is_floating_point is false except for the built-in floating-point types. 125 template <class T> struct is_floating_point : false_type { }; struct in namespace:google::protobuf::internal 126 template<> struct is_floating_point<float> : true_type { }; struct in namespace:google::protobuf::internal 127 template<> struct is_floating_point<double> : true_type { }; struct in namespace:google::protobuf::internal 128 template<> struct is_floating_point<long double> : true_type { }; struct in namespace:google::protobuf::internal 129 template <class T> struct is_floating_point<const T> struct in namespace:google::protobuf::internal 130 : is_floating_point<T> { }; 131 template <class T> struct is_floating_point<volatil struct in namespace:google::protobuf::internal 133 template <class T> struct is_floating_point<const volatile T> struct in namespace:google::protobuf::internal [all...] |
H A D | type_traits_unittest.cc | 203 // Verify that is_floating_point is true for all floating-point types. 204 EXPECT_TRUE(is_floating_point<float>::value); 205 EXPECT_TRUE(is_floating_point<double>::value); 206 EXPECT_TRUE(is_floating_point<long double>::value); 208 // Verify that is_floating_point is false for a few non-float types. 209 EXPECT_FALSE(is_floating_point<void>::value); 210 EXPECT_FALSE(is_floating_point<long>::value); 211 EXPECT_FALSE(is_floating_point<string>::value); 212 EXPECT_FALSE(is_floating_point<float*>::value); 213 EXPECT_FALSE(is_floating_point< [all...] |
/external/libcxx/test/utilities/meta/meta.unary/meta.unary.cat/ |
H A D | lvalue_ref.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | rvalue_ref.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | array.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | class.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | enum.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | floating_point.pass.cpp | 24 static_assert( std::is_floating_point<T>::value, "");
|
H A D | function.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | integral.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | member_function_pointer.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | member_object_pointer.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | nullptr.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | pointer.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | union.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, "");
|
H A D | void.pass.cpp | 24 static_assert(!std::is_floating_point<T>::value, "");
|
/external/chromium_org/third_party/cld/base/ |
H A D | type_traits.h | 12 // is_floating_point 60 // is_floating_point is false except for the built-in floating-point types. 61 template <class T> struct is_floating_point : false_type { }; struct in namespace:base 62 template<> struct is_floating_point<float> : true_type { }; struct in namespace:base 63 template<> struct is_floating_point<double> : true_type { }; struct in namespace:base 64 template<> struct is_floating_point<long double> : true_type { }; struct in namespace:base 82 is_floating_point<T>::value ||
|
/external/libcxx/test/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 | 61 !std::is_floating_point<UnderlyingT>::value &&
|
/external/libcxx/src/ |
H A D | string.cpp | 384 template <class S, class V, bool = is_floating_point<V>::value>
|
/external/clang/test/SemaCXX/ |
H A D | type-traits.cpp | 399 void is_floating_point() function
|