Ticket #7649: fix_comment_typo.patch
File fix_comment_typo.patch, 1.7 KB (added by , 10 years ago) |
---|
-
boost/math/constants/calculate_constants.hpp
157 157 // This is the method described in: 158 158 // "Some New Algorithms for High-Precision Computation of Euler's Constant" 159 159 // Richard P Brent and Edwin M McMillan. 160 // Mathematics of Com nputation, Volume 34, Number 149, Jan 1980, pages 305-312.160 // Mathematics of Computation, Volume 34, Number 149, Jan 1980, pages 305-312. 161 161 // See equation 17 with p = 2. 162 162 // 163 163 T n = 3 + (M ? (std::min)(M, tools::digits<T>()) : tools::digits<T>()) / 4; … … 929 929 template<int N> 930 930 inline T constant_rayleigh_kurtosis_excess<T>::compute(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE_SPEC(mpl::int_<N>)) 931 931 { // - (6 Pi^2 - 24 Pi + 16)/((Pi - 4)^2) 932 // Might provide provideand calculate this using pi_minus_four.932 // Might provide and calculate this using pi_minus_four. 933 933 BOOST_MATH_STD_USING 934 934 return - (((static_cast<T>(6) * pi<T, policies::policy<policies::digits2<N> > >() 935 935 * pi<T, policies::policy<policies::digits2<N> > >()) … … 944 944 template<int N> 945 945 inline T constant_rayleigh_kurtosis<T>::compute(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE_SPEC(mpl::int_<N>)) 946 946 { // 3 - (6 Pi^2 - 24 Pi + 16)/((Pi - 4)^2) 947 // Might provide provideand calculate this using pi_minus_four.947 // Might provide and calculate this using pi_minus_four. 948 948 BOOST_MATH_STD_USING 949 949 return static_cast<T>(3) - (((static_cast<T>(6) * pi<T, policies::policy<policies::digits2<N> > >() 950 950 * pi<T, policies::policy<policies::digits2<N> > >())