[libc++] Teach is_integral, is_[un]signed and make_[un]signed about __[u]int128_t
This commit also adds tests for std::numeric_limits<__[u]int128_t>. Reviewed in http://llvm-reviews.chandlerc.com/D2917 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@204849 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -50,6 +50,10 @@ int main()
|
||||
test<unsigned long>(0);
|
||||
test<long long>(LLONG_MIN);
|
||||
test<unsigned long long>(0);
|
||||
#ifndef _LIBCPP_HAS_NO_INT128
|
||||
test<__int128_t>(-__int128_t(__uint128_t(-1)/2) - 1);
|
||||
test<__uint128_t>(0);
|
||||
#endif
|
||||
test<float>(FLT_MIN);
|
||||
test<double>(DBL_MIN);
|
||||
test<long double>(LDBL_MIN);
|
||||
|
||||
Reference in New Issue
Block a user