Merge branch 'develop' of https://github.com/boostorg/multiprecision into develop

This commit is contained in:
jzmaddock
2017-05-19 18:22:46 +01:00
2 changed files with 14 additions and 1 deletions

View File

@@ -320,7 +320,7 @@ install:
script:
- |-
echo "using $TOOLSET : : $COMPILER : <cxxflags>-std=$CXXSTD ;" > ~/user-config.jam
- ./b2 libs/multiprecision/test toolset=$TOOLSET
- ./b2 libs/multiprecision/test toolset=$TOOLSET --disable-concepts
notifications:
email:

View File

@@ -988,6 +988,19 @@ template <class Backend, expression_template_option ExpressionTemplates>
struct number_category<number<Backend, ExpressionTemplates> > : public number_category<Backend>{};
template <class tag, class A1, class A2, class A3, class A4>
struct number_category<detail::expression<tag, A1, A2, A3, A4> > : public number_category<typename detail::expression<tag, A1, A2, A3, A4>::result_type>{};
//
// Specializations for types which do not always have numberic_limits specializations:
//
#ifdef BOOST_HAS_INT128
template <>
struct number_category<__int128> : public mpl::int_<number_kind_integer> {};
template <>
struct number_category<unsigned __int128> : public mpl::int_<number_kind_integer> {};
#endif
#ifdef BOOST_HAS_FLOAT128
template <>
struct number_category<__float128> : public mpl::int_<number_kind_floating_point> {};
#endif
template <class T>
struct component_type;