/////////////////////////////////////////////////////////////// // Copyright 2012 John Maddock. 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 NO_MIXED_OPS #include #include "libs/multiprecision/test/test_arithmetic.hpp" template struct related_type, ET> > { typedef boost::multiprecision::number, ET> number_type; typedef boost::multiprecision::number::digits / 2) > std::numeric_limits::digits ? Digits / 2 : Digits), DigitBase, Allocator, Exponent, MinExponent, MaxExponent>, ET> type; }; int main() { //test(); test, boost::long_long_type> > >(); //test(); return boost::report_errors(); }