]> git.pld-linux.org Git - packages/boost.git/blob - boost-1.54.0-multiprecision-unused_typedef.patch
- rel 3; bunch of upstream patches (taken and filtered by FC team)
[packages/boost.git] / boost-1.54.0-multiprecision-unused_typedef.patch
1 diff -up boost_1_54_0/boost/multiprecision/detail/functions/constants.hpp~ boost_1_54_0/boost/multiprecision/detail/functions/constants.hpp
2 --- boost_1_54_0/boost/multiprecision/detail/functions/constants.hpp~   2012-09-20 09:04:02.000000000 -0700
3 +++ boost_1_54_0/boost/multiprecision/detail/functions/constants.hpp    2013-07-22 03:31:01.145084522 -0700
4 @@ -81,7 +81,6 @@ template <class T>
5  void calc_e(T& result, unsigned digits)
6  {
7     typedef typename mpl::front<typename T::unsigned_types>::type ui_type;
8 -   typedef typename mpl::front<typename T::float_types>::type real_type;
9     //
10     // 1100 digits in string form:
11     //
12 diff -up boost_1_54_0/boost/multiprecision/detail/functions/pow.hpp~ boost_1_54_0/boost/multiprecision/detail/functions/pow.hpp
13 --- boost_1_54_0/boost/multiprecision/detail/functions/pow.hpp~ 2013-03-31 09:34:50.000000000 -0700
14 +++ boost_1_54_0/boost/multiprecision/detail/functions/pow.hpp  2013-07-22 03:43:12.495489757 -0700
15 @@ -142,10 +142,6 @@ void hyp1F0(T& H1F0, const T& a, const T
16     // There are no checks on input range or parameter boundaries.
17  
18     typedef typename boost::multiprecision::detail::canonical<int, T>::type si_type;
19 -   typedef typename boost::multiprecision::detail::canonical<unsigned, T>::type ui_type;
20 -   typedef typename T::exponent_type exp_type;
21 -   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
22 -   typedef typename mpl::front<typename T::float_types>::type fp_type;
23  
24     BOOST_ASSERT(&H1F0 != &x);
25     BOOST_ASSERT(&H1F0 != &a);
26 @@ -200,7 +196,6 @@ void eval_exp(T& result, const T& x)
27     typedef typename boost::multiprecision::detail::canonical<int, T>::type si_type;
28     typedef typename T::exponent_type exp_type;
29     typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
30 -   typedef typename boost::multiprecision::detail::canonical<float, T>::type float_type;
31  
32     // Handle special arguments.
33     int type = eval_fpclassify(x);
34 @@ -326,7 +321,6 @@ void eval_log(T& result, const T& arg)
35     // then let y = x - 1 and compute:
36     // log(x) = log(2) * n + log1p(1 + y)
37     //
38 -   typedef typename boost::multiprecision::detail::canonical<int, T>::type si_type;
39     typedef typename boost::multiprecision::detail::canonical<unsigned, T>::type ui_type;
40     typedef typename T::exponent_type exp_type;
41     typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
42 @@ -409,9 +403,6 @@ inline void eval_pow(T& result, const T&
43  {
44     BOOST_STATIC_ASSERT_MSG(number_category<T>::value == number_kind_floating_point, "The pow function is only valid for floating point types.");
45     typedef typename boost::multiprecision::detail::canonical<int, T>::type si_type;
46 -   typedef typename boost::multiprecision::detail::canonical<unsigned, T>::type ui_type;
47 -   typedef typename T::exponent_type exp_type;
48 -   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
49     typedef typename mpl::front<typename T::float_types>::type fp_type;
50  
51     if((&result == &x) || (&result == &a))
52 @@ -595,10 +586,7 @@ namespace detail{
53     template <class T>
54     void sinhcosh(const T& x, T* p_sinh, T* p_cosh)
55     {
56 -      typedef typename boost::multiprecision::detail::canonical<int, T>::type si_type;
57        typedef typename boost::multiprecision::detail::canonical<unsigned, T>::type ui_type;
58 -      typedef typename T::exponent_type exp_type;
59 -      typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
60        typedef typename mpl::front<typename T::float_types>::type fp_type;
61  
62        switch(eval_fpclassify(x))
63 diff -up boost_1_54_0/boost/multiprecision/detail/functions/trig.hpp~ boost_1_54_0/boost/multiprecision/detail/functions/trig.hpp
64 --- boost_1_54_0/boost/multiprecision/detail/functions/trig.hpp~        2013-03-31 09:34:50.000000000 -0700
65 +++ boost_1_54_0/boost/multiprecision/detail/functions/trig.hpp 2013-07-22 03:44:30.512963273 -0700
66 @@ -17,9 +17,6 @@ void hyp0F1(T& result, const T& b, const
67  {
68     typedef typename boost::multiprecision::detail::canonical<boost::int32_t, T>::type si_type;
69     typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
70 -   typedef typename T::exponent_type exp_type;
71 -   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
72 -   typedef typename mpl::front<typename T::float_types>::type fp_type;
73  
74     // Compute the series representation of Hypergeometric0F1 taken from
75     // http://functions.wolfram.com/HypergeometricFunctions/Hypergeometric0F1/06/01/01/
76 @@ -82,8 +79,6 @@ void eval_sin(T& result, const T& x)
77  
78     typedef typename boost::multiprecision::detail::canonical<boost::int32_t, T>::type si_type;
79     typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
80 -   typedef typename T::exponent_type exp_type;
81 -   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
82     typedef typename mpl::front<typename T::float_types>::type fp_type;
83  
84     switch(eval_fpclassify(x))
85 @@ -228,8 +223,6 @@ void eval_cos(T& result, const T& x)
86  
87     typedef typename boost::multiprecision::detail::canonical<boost::int32_t, T>::type si_type;
88     typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
89 -   typedef typename T::exponent_type exp_type;
90 -   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
91     typedef typename mpl::front<typename T::float_types>::type fp_type;
92  
93     switch(eval_fpclassify(x))
94 @@ -381,11 +374,7 @@ void hyp2F1(T& result, const T& a, const
95    // Abramowitz and Stegun 15.1.1.
96    // There are no checks on input range or parameter boundaries.
97  
98 -   typedef typename boost::multiprecision::detail::canonical<boost::int32_t, T>::type si_type;
99     typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
100 -   typedef typename T::exponent_type exp_type;
101 -   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
102 -   typedef typename mpl::front<typename T::float_types>::type fp_type;
103  
104     T x_pow_n_div_n_fact(x);
105     T pochham_a         (a);
106 @@ -443,10 +432,7 @@ template <class T>
107  void eval_asin(T& result, const T& x)
108  {
109     BOOST_STATIC_ASSERT_MSG(number_category<T>::value == number_kind_floating_point, "The asin function is only valid for floating point types.");
110 -   typedef typename boost::multiprecision::detail::canonical<boost::int32_t, T>::type si_type;
111     typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
112 -   typedef typename T::exponent_type exp_type;
113 -   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
114     typedef typename mpl::front<typename T::float_types>::type fp_type;
115  
116     if(&result == &x)
117 @@ -597,8 +583,6 @@ void eval_atan(T& result, const T& x)
118     BOOST_STATIC_ASSERT_MSG(number_category<T>::value == number_kind_floating_point, "The atan function is only valid for floating point types.");
119     typedef typename boost::multiprecision::detail::canonical<boost::int32_t, T>::type si_type;
120     typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
121 -   typedef typename T::exponent_type exp_type;
122 -   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
123     typedef typename mpl::front<typename T::float_types>::type fp_type;
124  
125     switch(eval_fpclassify(x))
126 @@ -699,11 +683,7 @@ void eval_atan2(T& result, const T& y, c
127        return;
128     }
129  
130 -   typedef typename boost::multiprecision::detail::canonical<boost::int32_t, T>::type si_type;
131     typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
132 -   typedef typename T::exponent_type exp_type;
133 -   typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
134 -   typedef typename mpl::front<typename T::float_types>::type fp_type;
135  
136     switch(eval_fpclassify(y))
137     {
138 diff -up boost_1_54_0/boost/multiprecision/detail/generic_interconvert.hpp~ boost_1_54_0/boost/multiprecision/detail/generic_interconvert.hpp
139 --- boost_1_54_0/boost/multiprecision/detail/generic_interconvert.hpp~  2012-12-20 09:42:14.000000000 -0800
140 +++ boost_1_54_0/boost/multiprecision/detail/generic_interconvert.hpp   2013-07-22 03:38:51.614906286 -0700
141 @@ -191,7 +191,6 @@ void generic_interconvert(To& to, const
142  template <class To, class From>
143  void generic_interconvert(To& to, const From& from, const mpl::int_<number_kind_rational>& /*to_type*/, const mpl::int_<number_kind_rational>& /*from_type*/)
144  {
145 -   typedef typename component_type<number<From> >::type   from_component_type;
146     typedef typename component_type<number<To> >::type     to_component_type;
147  
148     number<From> t(from);
This page took 0.052014 seconds and 3 git commands to generate.