1 /////////////////////////////////////////////////////////////// 2 // Copyright 2012 John Maddock. Distributed under the Boost 3 // Software License, Version 1.0. (See accompanying file 4 // LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt 5 6 #include <boost/multiprecision/mpc.hpp> 7 #define TEST_MPC 8 9 #include "libs/multiprecision/test/test_arithmetic.hpp" 10 11 template <unsigned D> 12 struct related_type<boost::multiprecision::number<boost::multiprecision::mpc_complex_backend<D> > > 13 { 14 typedef boost::multiprecision::number<boost::multiprecision::mpfr_float_backend<D> > type; 15 }; 16 main()17int main() 18 { 19 test<boost::multiprecision::mpc_complex_50>(); 20 return boost::report_errors(); 21 } 22