forked from boostorg/type_traits
Add __float128 specialization for is_floating_point.
This commit is contained in:
1 parent
a0a9475d17
commit
39660c2421
1 file changed
+4
@@ -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