Skip to content

Commit

Permalink
Repair typo in max_digits10
Browse files Browse the repository at this point in the history
  • Loading branch information
ckormanyos committed Dec 23, 2024
1 parent 2a7bef3 commit 56aadec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/math/tools/precision.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ struct log_limit_traits
|| boost::math::numeric_limits<T>::max_exponent == 1024
|| boost::math::numeric_limits<T>::max_exponent == 16384
)
&& (-boost::math::numeric_limits<T>::min_exponent + 1 == boost::math::numeric_limits<T>::max_exponent)
&& (-boost::math::numeric_limits<T>::min_exponent10 + 1 == boost::math::numeric_limits<T>::max_exponent10)
),
boost::math::integral_constant<int, (boost::math::numeric_limits<T>::max_exponent > (boost::math::numeric_limits<int>::max)() ? (boost::math::numeric_limits<int>::max)() : static_cast<int>(boost::math::numeric_limits<T>::max_exponent))>,
boost::math::integral_constant<int, 0>
Expand Down

0 comments on commit 56aadec

Please sign in to comment.