diff options
Diffstat (limited to 'boost/math/special_functions/detail/bessel_i0.hpp')
-rw-r--r-- | boost/math/special_functions/detail/bessel_i0.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/math/special_functions/detail/bessel_i0.hpp b/boost/math/special_functions/detail/bessel_i0.hpp index 5896db8f76..7738229454 100644 --- a/boost/math/special_functions/detail/bessel_i0.hpp +++ b/boost/math/special_functions/detail/bessel_i0.hpp @@ -532,7 +532,7 @@ template <typename T> inline T bessel_i0(const T& x) { typedef mpl::int_< - std::numeric_limits<T>::digits == 0 ? + ((std::numeric_limits<T>::digits == 0) || (std::numeric_limits<T>::radix != 2)) ? 0 : std::numeric_limits<T>::digits <= 24 ? 24 : |