mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
8113c0d24a
after left-shifting the divisor in udiv(), trailing zero limbs could remain, causing division by zero. added trim(&y) after ulshift() to remove zero limbs, and safety check to handle edge cases where divisor becomes zero after normalization. Co-authored-by: Claude <noreply@anthropic.com>