/////////////////////////////////////////////////////////////////////////////// // Copyright Christopher Kormanyos 2014. // Copyright John Maddock 2014. // Copyright Paul Bristow 2014. // Distributed under 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) // // implements floating-point typedefs having // specified widths, as described in N3626 (proposed for C++14). // See: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3626.pdf #ifndef _BOOST_CSTDFLOAT_2014_01_09_HPP_ #define _BOOST_CSTDFLOAT_2014_01_09_HPP_ // Include the floating-point type definitions. #include // Support a specialization of std::numeric_limits<> for the wrapped quadmath library (if available). #if !defined(BOOST_CSTDFLOAT_NO_LIBQUADMATH_LIMITS) #include #endif // Support functions for the wrapped quadmath library (if available). #if !defined(BOOST_CSTDFLOAT_NO_LIBQUADMATH_CMATH) #include #endif // Support I/O stream operations for the wrapped quadmath library (if available). #if !defined(BOOST_CSTDFLOAT_NO_LIBQUADMATH_IOSTREAM) #if defined(BOOST_CSTDFLOAT_NO_LIBQUADMATH_CMATH) #error You can not use with BOOST_CSTDFLOAT_NO_LIBQUADMATH_CMATH defined. #endif #include #endif // Support a specialization of std::complex<> for the wrapped quadmath library (if available). #if !defined(BOOST_CSTDFLOAT_NO_LIBQUADMATH_COMPLEX) #if defined(BOOST_CSTDFLOAT_NO_LIBQUADMATH_LIMITS) #error You can not use with BOOST_CSTDFLOAT_NO_LIBQUADMATH_LIMITS defined. #endif #if defined(BOOST_CSTDFLOAT_NO_LIBQUADMATH_CMATH) #error You can not use with BOOST_CSTDFLOAT_NO_LIBQUADMATH_CMATH defined. #endif #if defined(BOOST_CSTDFLOAT_NO_LIBQUADMATH_IOSTREAM) #error You can not use with BOOST_CSTDFLOAT_NO_LIBQUADMATH_IOSTREAM defined. #endif #include #endif // Undefine BOOST_NO_FLOAT128_T because this constant is not meant for public use. #if defined(BOOST_CSTDFLOAT_HAS_INTERNAL_FLOAT128_T) #undef BOOST_CSTDFLOAT_HAS_INTERNAL_FLOAT128_T #endif #endif // _BOOST_CSTDFLOAT_2014_01_09_HPP_