Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / math / test / __temporary_test.cpp
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
6 // This test file exists to output diagnostic info for tests failing in the online matrix
7 // for perplexing reasons, it's contents are subject to constant change!!
8 //
9 #define BOOST_MATH_INSTRUMENT
10
11 #include <boost/math/special_functions/math_fwd.hpp>
12 #include <iostream>
13
14 int main()
15 {
16    std::cout << "EllintD(1, -1) = " << std::setprecision(20) << boost::math::ellint_d(1.0, -1.0) << std::endl;
17    std::cout << "EllintD(6.4851474761962890625e-01L , -7.6733188629150390625e+00L) = " << std::setprecision(20) << boost::math::ellint_d(6.4851474761962890625e-01, -7.6733188629150390625e+00) << std::endl;
18
19    std::cout << "EllintD(1, -1) = " << std::setprecision(20) << boost::math::ellint_d(1.0L, -1.0L) << std::endl;
20    std::cout << "EllintD(6.4851474761962890625e-01L , -7.6733188629150390625e+00L) = " << std::setprecision(20) << boost::math::ellint_d(6.4851474761962890625e-01L , -7.6733188629150390625e+00L) << std::endl;
21 }
22