From a4c573e8abdb41c861f63ec4ec138fef92683816 Mon Sep 17 00:00:00 2001 From: IRainman Date: Tue, 6 May 2025 21:54:40 +0300 Subject: [PATCH] compilation fix --- include/fast_float/bigint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fast_float/bigint.h b/include/fast_float/bigint.h index cb41d91..2697e7c 100644 --- a/include/fast_float/bigint.h +++ b/include/fast_float/bigint.h @@ -32,7 +32,7 @@ typedef span limb_span; // of bits required to store the largest bigint, which is // `log2(10**(digits + max_exp))`, or `log2(10**(767 + 342))`, or // ~3600 bits, so we round to 4000. -typedef uint_fast16_t bigint_bits_t; +typedef int_fast16_t bigint_bits_t; constexpr bigint_bits_t bigint_bits = 4000; constexpr limb_t bigint_limbs = bigint_bits / limb_bits;