id summary reporter owner description type status milestone component version severity resolution keywords cc 11453 problem in boost/math/special_functions/detail/bernoulli_details.hpp Ed Vogel John Maddock "There's an issue with boost/math/special_functions/detail/bernouli_details.hpp The 'for' statements at (about) lines 438 and 454 need static_cast operators around the first operand to std::max to make sure the operand is cast to a std::size_t. The 'for' statement around line 482 has such a static_cast, and I expect most platforms will be using that conditional. However, the current code fails in cases where size_t is 64-bits and unsigned is 32-bits on platforms where either BOOST_HAS_THREADS is not defined or BOOST_MATH_NO_ATOMIC_INT is defined. Thank you, Ed Vogel" Bugs closed To Be Determined math Boost 1.56.0 Problem fixed