We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3ee04a commit 2e673eaCopy full SHA for 2e673ea
SpecUtils/ParseUtils.h
@@ -286,8 +286,8 @@ Integral float_to_integral( float d )
286
if( exp <= max_exp )
287
return static_cast<Integral>( d );
288
289
- static constexpr Integral min_int_val = std::numeric_limits<Integral>::min();
290
- static constexpr Integral max_int_val = std::numeric_limits<Integral>::max();
+ static constexpr Integral min_int_val = (std::numeric_limits<Integral>::min)();
+ static constexpr Integral max_int_val = (std::numeric_limits<Integral>::max)();
291
return std::signbit(d) ? min_int_val : max_int_val;
292
}//float_to_integral
293
}//namespace SpecUtils
0 commit comments