Imported Upstream version 1.72.0
[platform/upstream/boost.git] / boost / multiprecision / complex128.hpp
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
6 #ifndef BOOST_MP_COMPLEX128_HPP
7 #define BOOST_MP_COMPLEX128_HPP
8
9 #include <boost/multiprecision/float128.hpp>
10 #include <boost/multiprecision/complex_adaptor.hpp>
11
12 namespace boost {
13 namespace multiprecision {
14
15 typedef number<complex_adaptor<float128_backend>, et_off> complex128;
16
17 template <>
18 struct component_type<number<complex_adaptor<float128_backend> > >
19 {
20    typedef float128 type;
21 };
22
23 }
24 } // namespace boost::multiprecision
25
26 #endif