mirror of
https://github.com/boostorg/math.git
synced 2026-02-26 04:42:22 +00:00
Exclude owen's T tables from coverage.
This commit is contained in:
@@ -70,6 +70,7 @@ namespace boost
|
||||
template<typename RealType>
|
||||
inline unsigned short owens_t_compute_code(const RealType h, const RealType a)
|
||||
{
|
||||
// LCOV_EXCL_START
|
||||
static const RealType hrange[] =
|
||||
{ 0.02f, 0.06f, 0.09f, 0.125f, 0.26f, 0.4f, 0.6f, 1.6f, 1.7f, 2.33f, 2.4f, 3.36f, 3.4f, 4.8f };
|
||||
|
||||
@@ -97,6 +98,7 @@ namespace boost
|
||||
1 , 2 , 3 , 3 , 5 , 5 , 7 , 7 , 16 , 16 , 16 , 16 , 16 , 11 , 11,
|
||||
1 , 2 , 3 , 3 , 5 , 5 , 17 , 17 , 17 , 17 , 16 , 16 , 16 , 11 , 11
|
||||
};
|
||||
// LCOV_EXCL_END
|
||||
|
||||
unsigned short ihint = 14, iaint = 7;
|
||||
for(unsigned short i = 0; i != 14; i++)
|
||||
@@ -125,7 +127,9 @@ namespace boost
|
||||
template<typename RealType>
|
||||
inline unsigned short owens_t_get_order_imp(const unsigned short icode, RealType, const std::integral_constant<int, 53>&)
|
||||
{
|
||||
// LCOV_EXCL_START
|
||||
static const unsigned short ord[] = {2, 3, 4, 5, 7, 10, 12, 18, 10, 20, 30, 0, 4, 7, 8, 20, 0, 0}; // 18 entries
|
||||
// LCOV_EXCL_END
|
||||
|
||||
BOOST_MATH_ASSERT(icode<18);
|
||||
|
||||
@@ -136,7 +140,9 @@ namespace boost
|
||||
inline unsigned short owens_t_get_order_imp(const unsigned short icode, RealType, const std::integral_constant<int, 64>&)
|
||||
{
|
||||
// method ================>>> {1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 4, 4, 4, 4, 5, 6}
|
||||
static const unsigned short ord[] = {3, 4, 5, 6, 8, 11, 13, 19, 10, 20, 30, 0, 7, 10, 11, 23, 0, 0}; // 18 entries
|
||||
// LCOV_EXCL_START
|
||||
static const unsigned short ord[] = {3, 4, 5, 6, 8, 11, 13, 19, 10, 20, 30, 0, 7, 10, 11, 23, 0, 0}; // 18 entries
|
||||
// LCOV_EXCL_END
|
||||
|
||||
BOOST_MATH_ASSERT(icode<18);
|
||||
|
||||
@@ -233,6 +239,7 @@ namespace boost
|
||||
|
||||
const unsigned short m = 20;
|
||||
|
||||
// LCOV_EXCL_START
|
||||
static const RealType c2[] =
|
||||
{
|
||||
static_cast<RealType>(0.99999999999999987510),
|
||||
@@ -247,6 +254,7 @@ namespace boost
|
||||
static_cast<RealType>(-0.82813631607004984866E-01), static_cast<RealType>(0.24167984735759576523E-01),
|
||||
static_cast<RealType>(-0.44676566663971825242E-02), static_cast<RealType>(0.39141169402373836468E-03)
|
||||
};
|
||||
// LCOV_EXCL_END
|
||||
|
||||
const RealType as = a*a;
|
||||
const RealType hs = h*h;
|
||||
@@ -285,6 +293,7 @@ namespace boost
|
||||
|
||||
const unsigned short m = 30;
|
||||
|
||||
// LCOV_EXCL_START
|
||||
static const RealType c2[] =
|
||||
{
|
||||
BOOST_MATH_BIG_CONSTANT(RealType, 260, 0.99999999999999999999999729978162447266851932041876728736094298092917625009873),
|
||||
@@ -319,6 +328,7 @@ namespace boost
|
||||
BOOST_MATH_BIG_CONSTANT(RealType, 260, -1.489155613350368934073453260689881330166342484405529981510694514036264969925132e-4),
|
||||
BOOST_MATH_BIG_CONSTANT(RealType, 260, 9.072354320794357587710929507988814669454281514268844884841547607134260303118208e-6)
|
||||
};
|
||||
// LCOV_EXCL_END
|
||||
|
||||
const RealType as = a*a;
|
||||
const RealType hs = h*h;
|
||||
@@ -404,6 +414,7 @@ namespace boost
|
||||
*/
|
||||
|
||||
const unsigned short m = 13;
|
||||
// LCOV_EXCL_START
|
||||
static const RealType pts[] = {
|
||||
static_cast<RealType>(0.35082039676451715489E-02),
|
||||
static_cast<RealType>(0.31279042338030753740E-01), static_cast<RealType>(0.85266826283219451090E-01),
|
||||
@@ -423,6 +434,7 @@ namespace boost
|
||||
|
||||
const RealType as = a*a;
|
||||
const RealType hs = -h*h*boost::math::constants::half<RealType>();
|
||||
// LCOV_EXCL_END
|
||||
|
||||
RealType val = 0;
|
||||
for(unsigned short i = 0; i < m; ++i)
|
||||
@@ -450,6 +462,7 @@ namespace boost
|
||||
*/
|
||||
|
||||
const unsigned short m = 19;
|
||||
// LCOV_EXCL_START
|
||||
static const RealType pts[] = {
|
||||
BOOST_MATH_BIG_CONSTANT(RealType, 64, 0.0016634282895983227941),
|
||||
BOOST_MATH_BIG_CONSTANT(RealType, 64, 0.014904509242697054183),
|
||||
@@ -492,6 +505,7 @@ namespace boost
|
||||
BOOST_MATH_BIG_CONSTANT(RealType, 64, 0.0018483371329504443947),
|
||||
BOOST_MATH_BIG_CONSTANT(RealType, 64, 0.00079623320100438873578)
|
||||
};
|
||||
// LCOV_EXCL_END
|
||||
|
||||
const RealType as = a*a;
|
||||
const RealType hs = -h*h*boost::math::constants::half<RealType>();
|
||||
|
||||
Reference in New Issue
Block a user