Searched refs:is_floating_point (Results 1 - 25 of 34) sorted by relevance

12

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
H A Dis_floating_point.pass.cpp12 // 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 Dfloating_point.pass.cpp25 static_assert( std::is_floating_point<T>::value, "");
56 static_assert(!std::is_floating_point<incomplete_type>::value, "");
H A Darray.pass.cpp25 static_assert(!std::is_floating_point<T>::value, "");
H A Dclass.pass.cpp25 static_assert(!std::is_floating_point<T>::value, "");
H A Denum.pass.cpp25 static_assert(!std::is_floating_point<T>::value, "");
H A Dintegral.pass.cpp25 static_assert(!std::is_floating_point<T>::value, "");
H A Dlvalue_ref.pass.cpp26 static_assert(!std::is_floating_point<T>::value, "");
H A Dmember_object_pointer.pass.cpp25 static_assert(!std::is_floating_point<T>::value, "");
H A Dnullptr.pass.cpp26 static_assert(!std::is_floating_point<T>::value, "");
H A Dpointer.pass.cpp26 static_assert(!std::is_floating_point<T>::value, "");
H A Drvalue_ref.pass.cpp27 static_assert(!std::is_floating_point<T>::value, "");
H A Dunion.pass.cpp25 static_assert(!std::is_floating_point<T>::value, "");
H A Dvoid.pass.cpp25 static_assert(!std::is_floating_point<T>::value, "");
H A Dfunction.pass.cpp36 static_assert(!std::is_floating_point<T>::value, "");
H A Dmember_function_pointer_no_variadics.pass.cpp27 static_assert(!std::is_floating_point<T>::value, "");
/external/libcxx/test/std/utilities/time/time.traits/time.traits.is_fp/
H A Dtreat_as_floating_point.pass.cpp23 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 Dconj.pass.cpp34 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 Dproj.pass.cpp34 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 Dtype_traits.h40 // 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 Dtype_traits_unittest.cc206 // 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 Dquiet_NaN.pass.cpp44 test_imp<T>(std::is_floating_point<T>());
H A Dsignaling_NaN.pass.cpp44 test_imp<T>(std::is_floating_point<T>());
/external/llvm/include/llvm/Support/
H A Dtype_traits.h72 !std::is_floating_point<UnderlyingT>::value &&
/external/vixl/src/aarch64/
H A Dabi-aarch64.h87 const bool is_floating_point_type = std::is_floating_point<T>::value;
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/
H A Dmeta.unary.cat.pass.cpp60 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, "");

Completed in 366 milliseconds

12