2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Repair typo in max_digits10

This commit is contained in:
ckormanyos
2024-12-23 14:21:34 +01:00
parent 2a7bef3410
commit 56aadecb62

View File

@@ -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>