Files

27 lines
729 B
C++

///////////////////////////////////////////////////////////////////////////////
// Copyright 2018 John Maddock. 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)
#ifndef ACTIV_BOOST_MP_COMPLEX128_HPP
#define ACTIV_BOOST_MP_COMPLEX128_HPP
#include <ActivBoost/multiprecision/float128.hpp>
#include <ActivBoost/multiprecision/complex_adaptor.hpp>
namespace Boost {
namespace multiprecision {
using complex128 = number<complex_adaptor<float128_backend>, et_off>;
template <>
struct component_type<number<complex_adaptor<float128_backend> > >
{
using type = float128;
};
}
} // namespace Boost::multiprecision
#endif