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

/external/libcxx/test/utilities/time/time.traits/time.traits.is_fp/
H A Dtreat_as_floating_point.pass.cpp21 static_assert((std::is_base_of<std::is_floating_point<T>,
/external/libcxx/test/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/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dtype_traits.h39 // 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 Dtype_traits_unittest.cc203 // 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 Dlvalue_ref.pass.cpp24 static_assert(!std::is_floating_point<T>::value, "");
H A Drvalue_ref.pass.cpp24 static_assert(!std::is_floating_point<T>::value, "");
H A Darray.pass.cpp24 static_assert(!std::is_floating_point<T>::value, "");
H A Dclass.pass.cpp24 static_assert(!std::is_floating_point<T>::value, "");
H A Denum.pass.cpp24 static_assert(!std::is_floating_point<T>::value, "");
H A Dfloating_point.pass.cpp24 static_assert( std::is_floating_point<T>::value, "");
H A Dfunction.pass.cpp24 static_assert(!std::is_floating_point<T>::value, "");
H A Dintegral.pass.cpp24 static_assert(!std::is_floating_point<T>::value, "");
H A Dmember_function_pointer.pass.cpp24 static_assert(!std::is_floating_point<T>::value, "");
H A Dmember_object_pointer.pass.cpp24 static_assert(!std::is_floating_point<T>::value, "");
H A Dnullptr.pass.cpp24 static_assert(!std::is_floating_point<T>::value, "");
H A Dpointer.pass.cpp24 static_assert(!std::is_floating_point<T>::value, "");
H A Dunion.pass.cpp24 static_assert(!std::is_floating_point<T>::value, "");
H A Dvoid.pass.cpp24 static_assert(!std::is_floating_point<T>::value, "");
/external/chromium_org/third_party/cld/base/
H A Dtype_traits.h12 // 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 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.h61 !std::is_floating_point<UnderlyingT>::value &&
/external/libcxx/src/
H A Dstring.cpp384 template <class S, class V, bool = is_floating_point<V>::value>
/external/clang/test/SemaCXX/
H A Dtype-traits.cpp399 void is_floating_point() function

Completed in 874 milliseconds