f4f728b319 (master): [Bug #21680] Fix (base**power_of_two).digits(base) bug (#15144)

0 views
Skip to first unread message

tomoya ishida

unread,
Nov 11, 2025, 11:59:07 PM (2 days ago) Nov 11
to ruby...@g.ruby-lang.org
tomoya ishida 2025-11-12 04:58:38 +0000 (Wed, 12 Nov 2025)

New Revision: f4f728b319

https://github.com/ruby/ruby/commit/f4f728b319

Log:
[Bug #21680] Fix (base**power_of_two).digits(base) bug (#15144)

Fix wrong condition in base multiplying loop.

Modified files:
numeric.c
test/ruby/test_bignum.rb
Reply all
Reply to author
Forward
0 new messages