mirror of
https://github.com/boostorg/multiprecision.git
synced 2026-02-19 02:22:17 +00:00
Fix parenthesis in use of max().
This commit is contained in:
@@ -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<exp_type>::max())
|
||||
if (n == (std::numeric_limits<exp_type>::max)())
|
||||
{
|
||||
// Exponent is too large to fit in our exponent type:
|
||||
if (isneg)
|
||||
|
||||
Reference in New Issue
Block a user