Ticket #11614: real_impl.hpp.patch
File real_impl.hpp.patch, 934 bytes (added by , 7 years ago) |
---|
-
./boost_1_59_0/boost/spirit/home/qi/numeric/detail/real_impl.hpp
65 65 { 66 66 if (exp >= 0) 67 67 { 68 std::size_t max_exp = std::numeric_limits<T>::max_exponent10;68 int const max_exp = std::numeric_limits<T>::max_exponent10; 69 69 70 70 // return false if exp exceeds the max_exp 71 71 // do this check only for primitive types! … … 77 77 { 78 78 if (exp < std::numeric_limits<T>::min_exponent10) 79 79 { 80 int min_exp = std::numeric_limits<T>::min_exponent10;80 int const min_exp = std::numeric_limits<T>::min_exponent10; 81 81 detail::compensate_roundoff(n, acc_n); 82 82 n /= pow10<T>(-min_exp); 83 83