[ruby-cvs:68698] mrkn:r61517 (trunk): numeric.c: Fix Integer#pow with a large Fixnum modulo

mrkn at ruby-lang.org mrkn at ruby-lang.org
Sat Dec 30 23:50:15 JST 2017


mrkn	2017-12-30 23:50:15 +0900 (Sat, 30 Dec 2017)

  New Revision: 61517

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61517

  Log:
    numeric.c: Fix Integer#pow with a large Fixnum modulo
    
    * numeric.c: Fix Integer#pow with a large Fixnum modulo
      [Bug #14259] [ruby-core:84562]
    
    * test/ruby/test_numeric.rb: add assertions for reproducing this bug.

  Modified files:
    trunk/bignum.c
    trunk/test/ruby/test_numeric.rb


More information about the ruby-cvs mailing list