// 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()
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);
// 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);