Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:39:35

0001 ///////////////////////////////////////////////////////////////////////////////
0002 // Copyright Christopher Kormanyos 2014.
0003 // Copyright John Maddock 2014.
0004 // Copyright Paul Bristow 2014.
0005 // Distributed under the Boost Software License,
0006 // Version 1.0. (See accompanying file LICENSE_1_0.txt
0007 // or copy at http://www.boost.org/LICENSE_1_0.txt)
0008 //
0009 
0010 // Implement quadruple-precision (and extended) support for <complex>.
0011 
0012 #ifndef BOOST_MATH_CSTDFLOAT_COMPLEX_2014_02_15_HPP_
0013   #define BOOST_MATH_CSTDFLOAT_COMPLEX_2014_02_15_HPP_
0014 
0015   #include <boost/math/cstdfloat/cstdfloat_types.hpp>
0016   #include <boost/math/cstdfloat/cstdfloat_limits.hpp>
0017   #include <boost/math/cstdfloat/cstdfloat_cmath.hpp>
0018   #include <boost/math/cstdfloat/cstdfloat_iostream.hpp>
0019 
0020   #if defined(BOOST_CSTDFLOAT_NO_LIBQUADMATH_LIMITS)
0021   #error You can not use <boost/math/cstdfloat/cstdfloat_complex.hpp> with BOOST_CSTDFLOAT_NO_LIBQUADMATH_LIMITS defined.
0022   #endif
0023   #if defined(BOOST_CSTDFLOAT_NO_LIBQUADMATH_CMATH)
0024   #error You can not use <boost/math/cstdfloat/cstdfloat_complex.hpp> with BOOST_CSTDFLOAT_NO_LIBQUADMATH_CMATH defined.
0025   #endif
0026   #if defined(BOOST_CSTDFLOAT_NO_LIBQUADMATH_IOSTREAM)
0027   #error You can not use <boost/math/cstdfloat/cstdfloat_complex.hpp> with BOOST_CSTDFLOAT_NO_LIBQUADMATH_IOSTREAM defined.
0028   #endif
0029 
0030   #if defined(BOOST_CSTDFLOAT_HAS_INTERNAL_FLOAT128_T) && defined(BOOST_MATH_USE_FLOAT128) && !defined(BOOST_CSTDFLOAT_NO_LIBQUADMATH_SUPPORT)
0031 
0032   #define BOOST_CSTDFLOAT_EXTENDED_COMPLEX_FLOAT_TYPE boost::math::cstdfloat::detail::float_internal128_t
0033   #include <boost/math/cstdfloat/cstdfloat_complex_std.hpp>
0034   #undef BOOST_CSTDFLOAT_EXTENDED_COMPLEX_FLOAT_TYPE
0035 
0036   #endif // Not BOOST_CSTDFLOAT_NO_LIBQUADMATH_SUPPORT (i.e., the user would like to have libquadmath support)
0037 
0038 #endif // BOOST_MATH_CSTDFLOAT_COMPLEX_2014_02_15_HPP_