mirror of
https://github.com/boostorg/math.git
synced 2026-01-28 19:32:08 +00:00
37 lines
626 B
C++
37 lines
626 B
C++
|
|
#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;
|
|
};
|
|
|
|
namespace boost{ namespace multiprecision{
|
|
|
|
template <class Backend, bool ExpressionTemplates>
|
|
class mp_number;
|
|
|
|
}}
|
|
|
|
template <class Backend, bool ExpressionTemplates>
|
|
struct table_type<boost::multiprecision::mp_number<Backend, ExpressionTemplates> >
|
|
{
|
|
typedef const char* type;
|
|
};
|
|
|
|
#endif
|