Takashi Kokubun 2026-01-13 01:05:12 +0000 (Tue, 13 Jan 2026)
New Revision: 893dcb5f25
https://github.com/ruby/ruby/commit/893dcb5f25
Log:
merge revision(s) 19e539c9ee1701b34189fa0c1feb942adeb0e326: [Backport #21814]
[PATCH] [Bug #21814] Fix negative bignum modulo
If modulo is zero, do not apply bias even if the divisor is zero.
`BIGNUM_POSITIVE_P` is true even on bignum zero.
Modified files:
bignum.c
test/ruby/test_numeric.rb