$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r84904 - in trunk/boost/multiprecision/detail: . functions
From: john_at_[hidden]
Date: 2013-06-25 13:48:05
Author: johnmaddock
Date: 2013-06-25 13:48:04 EDT (Tue, 25 Jun 2013)
New Revision: 84904
URL: http://svn.boost.org/trac/boost/changeset/84904
Log:
Remove some unused typedefs: fixes some gcc-4.8 warnings
Text files modified: 
   trunk/boost/multiprecision/detail/functions/constants.hpp  |     1 -                                       
   trunk/boost/multiprecision/detail/functions/pow.hpp        |    12 ------------                            
   trunk/boost/multiprecision/detail/functions/trig.hpp       |    20 --------------------                    
   trunk/boost/multiprecision/detail/generic_interconvert.hpp |     1 -                                       
   4 files changed, 0 insertions(+), 34 deletions(-)
Modified: trunk/boost/multiprecision/detail/functions/constants.hpp
==============================================================================
--- trunk/boost/multiprecision/detail/functions/constants.hpp	Mon Jun 24 15:37:37 2013	(r84903)
+++ trunk/boost/multiprecision/detail/functions/constants.hpp	2013-06-25 13:48:04 EDT (Tue, 25 Jun 2013)	(r84904)
@@ -81,7 +81,6 @@
 void calc_e(T& result, unsigned digits)
 {
    typedef typename mpl::front<typename T::unsigned_types>::type ui_type;
-   typedef typename mpl::front<typename T::float_types>::type real_type;
    //
    // 1100 digits in string form:
    //
Modified: trunk/boost/multiprecision/detail/functions/pow.hpp
==============================================================================
--- trunk/boost/multiprecision/detail/functions/pow.hpp	Mon Jun 24 15:37:37 2013	(r84903)
+++ trunk/boost/multiprecision/detail/functions/pow.hpp	2013-06-25 13:48:04 EDT (Tue, 25 Jun 2013)	(r84904)
@@ -142,10 +142,6 @@
    // There are no checks on input range or parameter boundaries.
 
    typedef typename boost::multiprecision::detail::canonical<int, T>::type si_type;
-   typedef typename boost::multiprecision::detail::canonical<unsigned, T>::type ui_type;
-   typedef typename T::exponent_type exp_type;
-   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
-   typedef typename mpl::front<typename T::float_types>::type fp_type;
 
    BOOST_ASSERT(&H1F0 != &x);
    BOOST_ASSERT(&H1F0 != &a);
@@ -200,7 +196,6 @@
    typedef typename boost::multiprecision::detail::canonical<int, T>::type si_type;
    typedef typename T::exponent_type exp_type;
    typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
-   typedef typename boost::multiprecision::detail::canonical<float, T>::type float_type;
 
    // Handle special arguments.
    int type = eval_fpclassify(x);
@@ -326,7 +321,6 @@
    // then let y = x - 1 and compute:
    // log(x) = log(2) * n + log1p(1 + y)
    //
-   typedef typename boost::multiprecision::detail::canonical<int, T>::type si_type;
    typedef typename boost::multiprecision::detail::canonical<unsigned, T>::type ui_type;
    typedef typename T::exponent_type exp_type;
    typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
@@ -409,9 +403,6 @@
 {
    BOOST_STATIC_ASSERT_MSG(number_category<T>::value == number_kind_floating_point, "The pow function is only valid for floating point types.");
    typedef typename boost::multiprecision::detail::canonical<int, T>::type si_type;
-   typedef typename boost::multiprecision::detail::canonical<unsigned, T>::type ui_type;
-   typedef typename T::exponent_type exp_type;
-   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
    typedef typename mpl::front<typename T::float_types>::type fp_type;
 
    if((&result == &x) || (&result == &a))
@@ -595,10 +586,7 @@
    template <class T>
    void sinhcosh(const T& x, T* p_sinh, T* p_cosh)
    {
-      typedef typename boost::multiprecision::detail::canonical<int, T>::type si_type;
       typedef typename boost::multiprecision::detail::canonical<unsigned, T>::type ui_type;
-      typedef typename T::exponent_type exp_type;
-      typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
       typedef typename mpl::front<typename T::float_types>::type fp_type;
 
       switch(eval_fpclassify(x))
Modified: trunk/boost/multiprecision/detail/functions/trig.hpp
==============================================================================
--- trunk/boost/multiprecision/detail/functions/trig.hpp	Mon Jun 24 15:37:37 2013	(r84903)
+++ trunk/boost/multiprecision/detail/functions/trig.hpp	2013-06-25 13:48:04 EDT (Tue, 25 Jun 2013)	(r84904)
@@ -17,9 +17,6 @@
 {
    typedef typename boost::multiprecision::detail::canonical<boost::int32_t, T>::type si_type;
    typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
-   typedef typename T::exponent_type exp_type;
-   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
-   typedef typename mpl::front<typename T::float_types>::type fp_type;
 
    // Compute the series representation of Hypergeometric0F1 taken from
    // http://functions.wolfram.com/HypergeometricFunctions/Hypergeometric0F1/06/01/01/
@@ -82,8 +79,6 @@
 
    typedef typename boost::multiprecision::detail::canonical<boost::int32_t, T>::type si_type;
    typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
-   typedef typename T::exponent_type exp_type;
-   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
    typedef typename mpl::front<typename T::float_types>::type fp_type;
 
    switch(eval_fpclassify(x))
@@ -228,8 +223,6 @@
 
    typedef typename boost::multiprecision::detail::canonical<boost::int32_t, T>::type si_type;
    typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
-   typedef typename T::exponent_type exp_type;
-   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
    typedef typename mpl::front<typename T::float_types>::type fp_type;
 
    switch(eval_fpclassify(x))
@@ -381,11 +374,7 @@
   // Abramowitz and Stegun 15.1.1.
   // There are no checks on input range or parameter boundaries.
 
-   typedef typename boost::multiprecision::detail::canonical<boost::int32_t, T>::type si_type;
    typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
-   typedef typename T::exponent_type exp_type;
-   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
-   typedef typename mpl::front<typename T::float_types>::type fp_type;
 
    T x_pow_n_div_n_fact(x);
    T pochham_a         (a);
@@ -443,10 +432,7 @@
 void eval_asin(T& result, const T& x)
 {
    BOOST_STATIC_ASSERT_MSG(number_category<T>::value == number_kind_floating_point, "The asin function is only valid for floating point types.");
-   typedef typename boost::multiprecision::detail::canonical<boost::int32_t, T>::type si_type;
    typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
-   typedef typename T::exponent_type exp_type;
-   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
    typedef typename mpl::front<typename T::float_types>::type fp_type;
 
    if(&result == &x)
@@ -597,8 +583,6 @@
    BOOST_STATIC_ASSERT_MSG(number_category<T>::value == number_kind_floating_point, "The atan function is only valid for floating point types.");
    typedef typename boost::multiprecision::detail::canonical<boost::int32_t, T>::type si_type;
    typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
-   typedef typename T::exponent_type exp_type;
-   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
    typedef typename mpl::front<typename T::float_types>::type fp_type;
 
    switch(eval_fpclassify(x))
@@ -699,11 +683,7 @@
       return;
    }
 
-   typedef typename boost::multiprecision::detail::canonical<boost::int32_t, T>::type si_type;
    typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
-   typedef typename T::exponent_type exp_type;
-   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
-   typedef typename mpl::front<typename T::float_types>::type fp_type;
 
    switch(eval_fpclassify(y))
    {
Modified: trunk/boost/multiprecision/detail/generic_interconvert.hpp
==============================================================================
--- trunk/boost/multiprecision/detail/generic_interconvert.hpp	Mon Jun 24 15:37:37 2013	(r84903)
+++ trunk/boost/multiprecision/detail/generic_interconvert.hpp	2013-06-25 13:48:04 EDT (Tue, 25 Jun 2013)	(r84904)
@@ -191,7 +191,6 @@
 template <class To, class From>
 void generic_interconvert(To& to, const From& from, const mpl::int_<number_kind_rational>& /*to_type*/, const mpl::int_<number_kind_rational>& /*from_type*/)
 {
-   typedef typename component_type<number<From> >::type   from_component_type;
    typedef typename component_type<number<To> >::type     to_component_type;
 
    number<From> t(from);