__temporary_test.cpp 1.1 KB

12345678910111213141516171819202122
  1. // Copyright John Maddock 2018
  2. // Distributed under the Boost Software License, Version 1.0. (See
  3. // accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. // This test file exists to output diagnostic info for tests failing in the online matrix
  6. // for perplexing reasons, it's contents are subject to constant change!!
  7. //
  8. #define BOOST_MATH_INSTRUMENT
  9. #include <boost/math/special_functions/math_fwd.hpp>
  10. #include <iostream>
  11. int main()
  12. {
  13. std::cout << "EllintD(1, -1) = " << std::setprecision(20) << boost::math::ellint_d(1.0, -1.0) << std::endl;
  14. std::cout << "EllintD(6.4851474761962890625e-01L , -7.6733188629150390625e+00L) = " << std::setprecision(20) << boost::math::ellint_d(6.4851474761962890625e-01, -7.6733188629150390625e+00) << std::endl;
  15. std::cout << "EllintD(1, -1) = " << std::setprecision(20) << boost::math::ellint_d(1.0L, -1.0L) << std::endl;
  16. std::cout << "EllintD(6.4851474761962890625e-01L , -7.6733188629150390625e+00L) = " << std::setprecision(20) << boost::math::ellint_d(6.4851474761962890625e-01L , -7.6733188629150390625e+00L) << std::endl;
  17. }