compilation fix

This commit is contained in:
IRainman 2025-05-06 21:54:40 +03:00
parent a10b25f1e9
commit a4c573e8ab

View File

@ -32,7 +32,7 @@ typedef span<limb> limb_span;
// of bits required to store the largest bigint, which is // of bits required to store the largest bigint, which is
// `log2(10**(digits + max_exp))`, or `log2(10**(767 + 342))`, or // `log2(10**(digits + max_exp))`, or `log2(10**(767 + 342))`, or
// ~3600 bits, so we round to 4000. // ~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 bigint_bits_t bigint_bits = 4000;
constexpr limb_t bigint_limbs = bigint_bits / limb_bits; constexpr limb_t bigint_limbs = bigint_bits / limb_bits;