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.
2 parents 2940ec0 + a7d15fd commit 2fa7915Copy full SHA for 2fa7915
include/fast_float/simple_decimal_conversion.h
@@ -305,7 +305,7 @@ adjusted_mantissa compute_float(decimal &d) {
305
decimal_left_shift(d, shift);
306
if (d.decimal_point > decimal_point_range) {
307
// we want to get infinity:
308
- answer.power2 = 0xFF;
+ answer.power2 = binary::infinite_power();
309
answer.mantissa = 0;
310
return answer;
311
}
0 commit comments