]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/math/test/test_print_info_on_type.cpp
1 // Copyright John Maddock 2010.
3 // Use, modification and distribution are subject to the
4 // Boost Software License, Version 1.0.
5 // (See accompanying file LICENSE_1_0.txt
6 // or copy at http://www.boost.org/LICENSE_1_0.txt)
8 #include <boost/math/constants/info.hpp>
9 #include <boost/math/concepts/real_concept.hpp>
13 boost::math::constants::print_info_on_type
<float>();
14 boost::math::constants::print_info_on_type
<double>();
15 boost::math::constants::print_info_on_type
<long double>();
16 boost::math::constants::print_info_on_type
<boost::math::concepts::real_concept
>();
23 ------ Rebuild All started: Project: test_print_info_on_type, Configuration: Debug Win32 ------
24 test_print_info_on_type.cpp
25 test_print_info_on_type.vcxproj -> J:\Cpp\math_constants\Debug\test_print_info_on_type.exe
26 Information on the Implementation and Handling of
27 Mathematical Constants for Type float
29 Checking for std::numeric_limits<float> specialisation: yes
30 std::numeric_limits<float>::digits reports that the precision is
32 boost::math::policies::precision<float, Policy> reports that the compile time precision is
34 The constant will be constructed from a float.
36 Information on the Implementation and Handling of
37 Mathematical Constants for Type double
39 Checking for std::numeric_limits<double> specialisation: yes
40 std::numeric_limits<double>::digits reports that the precision is
42 boost::math::policies::precision<double, Policy> reports that the compile time precision is
44 The constant will be constructed from a double.
46 Information on the Implementation and Handling of
47 Mathematical Constants for Type long double
49 Checking for std::numeric_limits<long double> specialisation: yes
50 std::numeric_limits<long double>::digits reports that the precision is
52 boost::math::policies::precision<long double, Policy> reports that the compile time precision is
54 The constant will be constructed from a double.
56 Information on the Implementation and Handling of
57 Mathematical Constants for Type class boost::math::concepts::real_concept
59 Checking for std::numeric_limits<class boost::math::concepts::real_concept> specialisation: no
60 boost::math::policies::precision<class boost::math::concepts::real_concept, Policy>
61 reports that there is no compile type precision available.
62 boost::math::tools::digits<class boost::math::concepts::real_concept>()
63 reports that the current runtime precision is
65 No compile time precision is available, the construction method
66 will be decided at runtime and results will not be cached
67 - this may lead to poor runtime performance.
68 Current runtime precision indicates that
69 the constant will be constructed from a string on each call.
71 ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========