Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
H A Dis_floating_point.pass.cpp20 static_assert( std::is_floating_point<T>::value, ""); in test_is_floating_point()
21 static_assert( std::is_floating_point<const T>::value, ""); in test_is_floating_point()
22 static_assert( std::is_floating_point<volatile T>::value, ""); in test_is_floating_point()
23 static_assert( std::is_floating_point<const volatile T>::value, ""); in test_is_floating_point()
35 static_assert(!std::is_floating_point<T>::value, ""); in test_is_not_floating_point()
36 static_assert(!std::is_floating_point<const T>::value, ""); in test_is_not_floating_point()
37 static_assert(!std::is_floating_point<volatile T>::value, ""); in test_is_not_floating_point()
38 static_assert(!std::is_floating_point<const volatile T>::value, ""); in test_is_not_floating_point()
H A Dfloating_point.pass.cpp24 static_assert( std::is_floating_point<T>::value, ""); in test_floating_point_imp()
55 static_assert(!std::is_floating_point<incomplete_type>::value, ""); in main()
H A Dlvalue_ref.pass.cpp25 static_assert(!std::is_floating_point<T>::value, ""); in test_lvalue_ref()
H A Drvalue_ref.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_rvalue_ref()
H A Denum.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_enum_imp()
H A Dclass.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_class_imp()
H A Dpointer.pass.cpp25 static_assert(!std::is_floating_point<T>::value, ""); in test_pointer_imp()
H A Dmember_object_pointer.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_member_object_pointer_imp()
H A Dunion.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_union_imp()
H A Dvoid.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_void_imp()
H A Dnullptr.pass.cpp27 static_assert(!std::is_floating_point<T>::value, ""); in test_nullptr_imp()
H A Darray.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_array_imp()
H A Dintegral.pass.cpp24 static_assert(!std::is_floating_point<T>::value, ""); in test_integral_imp()
H A Dfunction.pass.cpp33 static_assert(!std::is_floating_point<T>::value, ""); in test()
/llvm-project-15.0.7/libcxx/test/std/time/time.traits/time.traits.is_fp/
H A Dtreat_as_floating_point.pass.cpp22 static_assert((std::is_base_of<std::is_floating_point<T>, in test()
25 static_assert(std::is_floating_point<T>::value == in test()
/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dis_floating_point.h27 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_floating_point
32 inline constexpr bool is_floating_point_v = is_floating_point<_Tp>::value;
H A Dis_arithmetic.h25 is_floating_point<_Tp>::value> {};
/llvm-project-15.0.7/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) in test()
43 !std::is_floating_point<T>::value>::type* = 0) in test()
H A Dproj.pass.cpp34 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()
/llvm-project-15.0.7/libcxx/test/libcxx/input.output/filesystems/
H A Dconvert_file_time.pass.cpp44 if (sizeof(TimeT) == 8 && !std::is_floating_point<TimeT>::value) in getTimeTTestKind()
46 else if (sizeof(TimeT) == 4 && !std::is_floating_point<TimeT>::value) in getTimeTTestKind()
48 else if (std::is_floating_point<TimeT>::value) in getTimeTTestKind()
56 if (std::is_floating_point<Rep>::value) in getFileTimeTestKind()
/llvm-project-15.0.7/pstl/test/std/numerics/numeric.ops/
H A Dadjacent_difference.pass.cpp60 typename std::enable_if<!std::is_floating_point<T>::value, bool>::type
89 typename std::enable_if<std::is_floating_point<T>::value, bool>::type compute_and_check(Iterator1, … in compute_and_check()
/llvm-project-15.0.7/pstl/include/pstl/internal/
H A Dnumeric_fwd.h100 typename std::enable_if<!std::is_floating_point<_Tp>::value, _OutputIterator>::type
106 typename std::enable_if<std::is_floating_point<_Tp>::value, _OutputIterator>::type
/llvm-project-15.0.7/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
H A Dsignaling_NaN.pass.cpp45 test_imp<T>(std::is_floating_point<T>()); in test()
H A Dquiet_NaN.pass.cpp45 test_imp<T>(std::is_floating_point<T>()); in test()
/llvm-project-15.0.7/libcxx/include/__random/
H A Dclamp_to_integral.h31 static_assert(is_floating_point<_FloatT>::value, "must be a floating point type"); in __max_representable_int_for_float()

12