1 ///////////////////////////////////////////////////////////////
2 // Copyright 2011 John Maddock. Distributed under the Boost
3 // Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_
7 #include "table_type.hpp"
13 #include <boost/math/special_functions/beta.hpp>
14 #include "libs/math/test/test_ibeta_inv_ab.hpp"
16 void expected_results()
19 // Define the max and mean errors expected for
20 // various compilers and platforms.
27 ".*", // test data group
28 ".*", 10000, 1000); // test function
30 // Finish off by printing out the compiler/stdlib/platform names,
31 // we do this to make it easier to mark up expected error rates.
33 std::cout << "Tests run with " << BOOST_COMPILER << ", "
34 << BOOST_STDLIB << ", " << BOOST_PLATFORM << std::endl;
38 void test(T t, const char* p)
43 BOOST_AUTO_TEST_CASE( test_main )
48 // 18 decimal digits: tests 80-bit long double approximations
49 // 30 decimal digits: tests 128-bit long double approximations
50 // 35 decimal digits: tests arbitrary precision code