2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00
Files
math/test/table_type.hpp
John Maddock bf39b3834a Fix bug in incomplete beta which causes an exception to be thrown in itrunc when one argument is very large.
Fix several similar issue in the non-central T which cause cancellation errors if we let the starting iteration be zero.
Remove dead code that results from above changes.
Minor fixes to table_type and test_next.cpp.

[SVN r80061]
2012-08-16 15:27:40 +00:00

30 lines
558 B
C++

// Copyright John Maddock 2012.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_MATH_TEST_TABLE_TYPE_HPP
#define BOOST_MATH_TEST_TABLE_TYPE_HPP
template <class T>
struct table_type
{
typedef T type;
};
namespace boost{ namespace math{ namespace concepts{
class real_concept;
}}}
template <>
struct table_type<boost::math::concepts::real_concept>
{
typedef long double type;
};
#endif