mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
131d86629b
Extract multi-limb subtraction algorithm from usub() and usub_pool() into shared usub_core() helper function. Both functions now use the same core subtraction logic with borrow propagation, eliminating duplicated algorithm code. Benefits: - Eliminates ~14 lines of duplicated subtraction algorithm code - Single source of truth for multi-limb subtraction with borrow handling - Reduces maintenance burden for future optimizations - Maintains all existing functionality and performance Co-authored-by: Claude <noreply@anthropic.com>