From e96afe608ef2a47dde685852afc8f7017b8640b1 Mon Sep 17 00:00:00 2001 From: IRainman Date: Sat, 8 Nov 2025 19:25:53 +0300 Subject: [PATCH] * try to fix precision error on x86 platform step2. --- 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 2801437..1a952c5 100644 --- a/include/fast_float/float_common.h +++ b/include/fast_float/float_common.h @@ -446,7 +446,7 @@ typedef int_fast8_t am_bits_t; // Power bias is signed for handling a denormal float // or an invalid mantissa. -typedef int_fast16_t am_pow_t; +typedef int16_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;