mirror of
https://github.com/luxfi/intx.git
synced 2026-10-30 16:22:26 +00:00
For `udivrem` with divisor being `uint128` (2 words) the Knuth division branch is dead because it handles divisors with more than 2 words. However, the compiler or static analyzer will compile this branch and report array out-of-bounds access (e.g. GCC-15, Clang Analyzer 21). Fix this by adding more hints about expected value ranges.