X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Fmultiprecision%2Ftest%2Fmath%2Fhigh_prec%2Ftest_gamma.cpp;h=75ec1a63b4d00ddce4125d9af2549b37a9192f67;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=e0225838e51abbeaf0a4f9a6a7bd6e1b9b8d67d2;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git diff --git a/ceph/src/boost/libs/multiprecision/test/math/high_prec/test_gamma.cpp b/ceph/src/boost/libs/multiprecision/test/math/high_prec/test_gamma.cpp index e0225838e..75ec1a63b 100644 --- a/ceph/src/boost/libs/multiprecision/test/math/high_prec/test_gamma.cpp +++ b/ceph/src/boost/libs/multiprecision/test/math/high_prec/test_gamma.cpp @@ -10,7 +10,6 @@ #include #endif - void expected_results() { // @@ -19,7 +18,7 @@ void expected_results() // const char* largest_type; #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS - if(boost::math::policies::digits >() == boost::math::policies::digits >()) + if (boost::math::policies::digits >() == boost::math::policies::digits >()) { largest_type = "(long\\s+)?double"; } @@ -31,51 +30,47 @@ void expected_results() largest_type = "(long\\s+)?double"; #endif add_expected_result( - ".*", // compiler - ".*", // stdlib - ".*", // platform - ".*", // test type(s) - ".*near 1.*", // test data group - ".*lgamma.*", 100000000000LL, 100000000000LL); // test function + ".*", // compiler + ".*", // stdlib + ".*", // platform + ".*", // test type(s) + ".*near 1.*", // test data group + ".*lgamma.*", 100000000000LL, 100000000000LL); // test function add_expected_result( - ".*", // compiler - ".*", // stdlib - ".*", // platform - ".*", // test type(s) - ".*near 0.*", // test data group - ".*lgamma.*", 300000, 100000); // test function + ".*", // compiler + ".*", // stdlib + ".*", // platform + ".*", // test type(s) + ".*near 0.*", // test data group + ".*lgamma.*", 300000, 100000); // test function add_expected_result( - ".*", // compiler - ".*", // stdlib - ".*", // platform - ".*", // test type(s) - ".*", // test data group - ".*", 110000, 50000); // test function + ".*", // compiler + ".*", // stdlib + ".*", // platform + ".*", // test type(s) + ".*", // test data group + ".*", 110000, 50000); // test function // // Finish off by printing out the compiler/stdlib/platform names, // we do this to make it easier to mark up expected error rates. // - std::cout << "Tests run with " << BOOST_COMPILER << ", " - << BOOST_STDLIB << ", " << BOOST_PLATFORM << std::endl; + std::cout << "Tests run with " << BOOST_COMPILER << ", " + << BOOST_STDLIB << ", " << BOOST_PLATFORM << std::endl; } -BOOST_AUTO_TEST_CASE( test_main ) +BOOST_AUTO_TEST_CASE(test_main) { expected_results(); BOOST_MATH_CONTROL_FP; #ifdef TEST_MPFR typedef boost::multiprecision::number > mp_type; - const char* name = "number >"; + const char* name = "number >"; #else typedef boost::multiprecision::number > mp_type; - const char* name = "number >"; + const char* name = "number >"; #endif test_gamma(mp_type(0), name); } - - - -