[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:
Stephan Tolksdorf
2014-03-26 19:45:52 +00:00
parent b0767852f7
commit 8a71d23633
41 changed files with 216 additions and 0 deletions

View File

@@ -44,6 +44,10 @@ int main()
test<unsigned long>(0);
test<long long>(0);
test<unsigned long long>(0);
#ifndef _LIBCPP_HAS_NO_INT128
test<__int128_t>(0);
test<__uint128_t>(0);
#endif
test<float>(FLT_EPSILON);
test<double>(DBL_EPSILON);
test<long double>(LDBL_EPSILON);