/////////////////////////////////////////////////////////////// // 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 #ifdef _MSC_VER #define _SCL_SECURE_NO_WARNINGS #endif #include #include "test_arithmetic.hpp" template struct related_type > > { typedef boost::multiprecision::number > type; }; template <> struct related_type { typedef boost::multiprecision::mpz_int type; }; int main() { boost::multiprecision::mpf_float::default_precision(1000); BOOST_CHECK_EQUAL(boost::multiprecision::mpf_float::default_precision(), 1000); test(); return boost::report_errors(); }