From a98c0ed62830e3e3e280afc8d4b85086a52dedcf Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Thu, 8 Jun 2017 08:49:26 +0100 Subject: [PATCH] Fix parenthesis in use of max(). --- include/boost/multiprecision/detail/functions/pow.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/multiprecision/detail/functions/pow.hpp b/include/boost/multiprecision/detail/functions/pow.hpp index b6e007b2..179e37f4 100644 --- a/include/boost/multiprecision/detail/functions/pow.hpp +++ b/include/boost/multiprecision/detail/functions/pow.hpp @@ -303,7 +303,7 @@ void eval_exp(T& result, const T& x) exp_type n; eval_convert_to(&n, result); - if (n == std::numeric_limits::max()) + if (n == (std::numeric_limits::max)()) { // Exponent is too large to fit in our exponent type: if (isneg)