Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / multiprecision / test / test_eigen_interop_cpp_dec_float.cpp
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 #include <boost/multiprecision/cpp_dec_float.hpp>
7
8 #include "eigen.hpp"
9
10 template <>
11 struct related_number<boost::multiprecision::cpp_dec_float_100>
12 {
13    typedef boost::multiprecision::cpp_dec_float_50 type;
14 };
15
16 int main()
17 {
18    using namespace boost::multiprecision;
19    test_float_type<double>();
20    test_float_type<boost::multiprecision::cpp_dec_float_100>();
21    return 0;
22 }