/////////////////////////////////////////////////////////////// // Copyright 2012 - 2021 John Maddock. // Copyright 2021 Matt Borland. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt #define BOOST_MP_STANDALONE #include "test_arithmetic.hpp" #include template struct related_type, ET> > { using number_type = boost::multiprecision::number, ET>; using type = boost::multiprecision::number::digits / 2) > std::numeric_limits::digits ? Digits / 2 : Digits), DigitBase, Allocator, Exponent, MinExponent, MaxExponent>, ET>; }; int main() { test(); //test>>(); //test>>>(); //test(); return boost::report_errors(); }