diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-12-30 23:00:18 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-12-30 23:00:18 +0900 |
| commit | 19e539c9ee1701b34189fa0c1feb942adeb0e326 (patch) | |
| tree | cfad3ac042961b1fc0fdca1ecd6877286b11d9b5 /test/ruby/test_array.rb | |
| parent | 966dbba8db970f13065a35d893662a981d0abae5 (diff) | |
[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.
Diffstat (limited to 'test/ruby/test_array.rb')
0 files changed, 0 insertions, 0 deletions
