complex128.hpp 636 B

123456789101112131415161718192021222324
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // Copyright 2018 John Maddock. Distributed under the Boost
  3. // Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. #ifndef BOOST_MP_COMPLEX128_HPP
  6. #define BOOST_MP_COMPLEX128_HPP
  7. #include <boost/multiprecision/float128.hpp>
  8. #include <boost/multiprecision/complex_adaptor.hpp>
  9. namespace boost {
  10. namespace multiprecision {
  11. template <>
  12. struct component_type<number<complex_adaptor<float128_backend> > >
  13. {
  14. using type = float128;
  15. };
  16. }
  17. } // namespace boost::multiprecision
  18. #endif