/////////////////////////////////////////////////////////////////////////////// // Copyright 2020 Nick Thompson. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include #include #include #include using boost::math::constants::gauss; int main() { using boost::multiprecision::mpfr_float; using boost::multiprecision::representations; mpfr_float::default_precision(100); auto G = boost::math::constants::gauss(); representations r(G, "G"); //using Real = boost::multiprecision::number>; //auto G = gauss(); //representations r(G, "G"); std::cout << r << "\n"; }