]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/math/test/test_constant_generate.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / math / test / test_constant_generate.cpp
index 937f26750879380ceb0a507bcfd831b5fdacafe1..53f1c6a73edf09d1e4e60040252696ae61d05fad 100644 (file)
@@ -14,8 +14,9 @@
 
 // To add new constants, add a function that calculates the value of the constant to
 // boost/math/constants/calculate_constants.hpp
+// See http://www.boost.org/doc/libs/release/libs/math/doc/html/math_toolkit/new_const.html
 
-#include <boost/math/constants/generate.hpp>
+#include <boost/math/constants/generate.hpp> // Requires /modular-boost/libs/math/include_private in search path.
 #include <boost/math/constants/calculate_constants.hpp>
 
 int main()
@@ -26,6 +27,7 @@ int main()
    BOOST_CONSTANTS_GENERATE(twothirds);
    BOOST_CONSTANTS_GENERATE(two_thirds);
    BOOST_CONSTANTS_GENERATE(three_quarters);
+   BOOST_CONSTANTS_GENERATE(sixth);
    // two and related.
    BOOST_CONSTANTS_GENERATE(root_two);
    BOOST_CONSTANTS_GENERATE(root_three);
@@ -69,6 +71,7 @@ int main()
    // Euler's e and related.
    BOOST_CONSTANTS_GENERATE(e);
    BOOST_CONSTANTS_GENERATE(exp_minus_half);
+   BOOST_CONSTANTS_GENERATE(exp_minus_one);
 
    BOOST_CONSTANTS_GENERATE(e_pow_pi);
    BOOST_CONSTANTS_GENERATE(root_e);