// Copyright John Maddock 2010. // Use, modification and distribution are subject to 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 int main() { boost::math::constants::print_info_on_type(); boost::math::constants::print_info_on_type(); boost::math::constants::print_info_on_type(); boost::math::constants::print_info_on_type(); return 0; } /* ------ Rebuild All started: Project: test_print_info_on_type, Configuration: Debug Win32 ------ test_print_info_on_type.cpp test_print_info_on_type.vcxproj -> J:\Cpp\math_constants\Debug\test_print_info_on_type.exe Information on the Implementation and Handling of Mathematical Constants for Type float Checking for std::numeric_limits specialisation: yes std::numeric_limits::digits reports that the precision is 24 binary digits. boost::math::policies::precision reports that the compile time precision is 24 binary digits. The constant will be constructed from a float. Information on the Implementation and Handling of Mathematical Constants for Type double Checking for std::numeric_limits specialisation: yes std::numeric_limits::digits reports that the precision is 53 binary digits. boost::math::policies::precision reports that the compile time precision is 53 binary digits. The constant will be constructed from a double. Information on the Implementation and Handling of Mathematical Constants for Type long double Checking for std::numeric_limits specialisation: yes std::numeric_limits::digits reports that the precision is 53 binary digits. boost::math::policies::precision reports that the compile time precision is 53 binary digits. The constant will be constructed from a double. Information on the Implementation and Handling of Mathematical Constants for Type class boost::math::concepts::real_concept Checking for std::numeric_limits specialisation: no boost::math::policies::precision reports that there is no compile type precision available. boost::math::tools::digits() reports that the current runtime precision is 53 binary digits. No compile time precision is available, the construction method will be decided at runtime and results will not be cached - this may lead to poor runtime performance. Current runtime precision indicates that the constant will be constructed from a string on each call. ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ========== */