Add __float128 specialization for is_floating_point.

This commit is contained in:
jzmaddock
2015-08-13 13:22:32 +01:00
parent a0a9475d17
commit 39660c2421

View File

@ -20,6 +20,10 @@ namespace boost {
template<> struct is_floating_point<float> : public true_type{};
template<> struct is_floating_point<double> : public true_type{};
template<> struct is_floating_point<long double> : public true_type{};
#if defined(_GLIBCXX_USE_FLOAT128) && defined(BOOST_GCC) && !defined(__STRICT_ANSI__)
template<> struct is_floating_point<__float128> : public true_type{};
#endif
} // namespace boost