mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
78fe8a0476
rational_eq_b was using wrong struct fields (p1->numerator/denominator which access i.num/i.den) for bigint-backed rationals that use b.num/b.den. Also added missing MRB_TT_BIGINT case to prevent fallthrough to default case which caused ping-pong recursion between Rational#== and Integer#==. Co-authored-by: Claude <noreply@anthropic.com>