// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000-2005. // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). // // See http://www.boost.org/libs/type_traits for most recent version including documentation. #ifndef BOOST_TYPE_TRAITS_IS_FLOATING_HPP_INCLUDED #define BOOST_TYPE_TRAITS_IS_FLOATING_HPP_INCLUDED #include namespace boost { //* is a type T a floating-point type described in the standard (3.9.1p8) template struct is_floating_point : public false_type{}; template struct is_floating_point : public is_floating_point{}; template struct is_floating_point : public is_floating_point{}; template struct is_floating_point : public is_floating_point{}; template<> struct is_floating_point : public true_type{}; template<> struct is_floating_point : public true_type{}; template<> struct is_floating_point : public true_type{}; #if defined(BOOST_HAS_FLOAT128) template<> struct is_floating_point<__float128> : public true_type{}; #endif } // namespace boost #endif // BOOST_TYPE_TRAITS_IS_FLOAT_HPP_INCLUDED