compilation fix

This commit is contained in:
IRainman 2025-05-06 22:05:06 +03:00
parent a4c573e8ab
commit a3ccc1f7b1

View File

@ -32,7 +32,7 @@ typedef span<limb> 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 int_fast16_t bigint_bits_t;
typedef uint_fast16_t bigint_bits_t;
constexpr bigint_bits_t bigint_bits = 4000;
constexpr limb_t bigint_limbs = bigint_bits / limb_bits;