Skip to content

Commit cd62aad

Browse files
committed
* try to fix precision error on x86 platform step5.
1 parent 578b1e9 commit cd62aad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fast_float/float_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ typedef int64_t am_pow_t; // can't be int_fast16_t because invalid_am_bias
450450
// hacks. Needs rewriting this.
451451

452452
// Bias so we can get the real exponent with an invalid adjusted_mantissa.
453-
constexpr static am_pow_t invalid_am_bias = -0x8000;
453+
constexpr static am_pow_t invalid_am_bias = -0x800000000000000;
454454

455455
struct adjusted_mantissa {
456456
am_mant_t mantissa;

0 commit comments

Comments
 (0)