forked from boostorg/type_traits
Add __float128 specialization for is_floating_point.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user