[ruby-cvs:65077] naruse:r57911 (ruby_2_4): merge revision(s) 57688, 57689: [Backport #13242]

naruse at ruby-lang.org naruse at ruby-lang.org
Sun Mar 12 23:18:02 JST 2017


naruse	2017-03-12 23:18:02 +0900 (Sun, 12 Mar 2017)

  New Revision: 57911

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

  Log:
    merge revision(s) 57688,57689: [Backport #13242]
    
    rational.c: infinity in power
    
    * rational.c (nurat_expt): return Infinity due to overflow.
      [ruby-core:79686] [Bug #13242]:
    rational.c: infinity in power
    
    * rational.c (nurat_expt): return 0 due to overflow.
      [ruby-core:79686] [Bug #13242]:

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/numeric.c
    branches/ruby_2_4/rational.c
    branches/ruby_2_4/test/ruby/test_rational.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list