From cd62aadb1be77fb7a4721166b66cf0691c5a4f5e Mon Sep 17 00:00:00 2001 From: IRainman Date: Sat, 8 Nov 2025 21:26:31 +0300 Subject: [PATCH] * try to fix precision error on x86 platform step5. --- include/fast_float/float_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fast_float/float_common.h b/include/fast_float/float_common.h index 2b322d3..f15860b 100644 --- a/include/fast_float/float_common.h +++ b/include/fast_float/float_common.h @@ -450,7 +450,7 @@ typedef int64_t am_pow_t; // can't be int_fast16_t because invalid_am_bias // hacks. Needs rewriting this. // Bias so we can get the real exponent with an invalid adjusted_mantissa. -constexpr static am_pow_t invalid_am_bias = -0x8000; +constexpr static am_pow_t invalid_am_bias = -0x800000000000000; struct adjusted_mantissa { am_mant_t mantissa;