mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
281b38c0b6
mrb_bint_mod() and mrb_bint_rem() were missing conversion of the first operand x to bigint before calling bint_as_mpz(). this caused crashes when x was not already a bigint. added mrb_as_bint(mrb, x) calls to ensure both operands are properly converted. Co-authored-by: Claude <noreply@anthropic.com>