[ruby-cvs:71695] nagachika:r64603 (ruby_2_5): merge revision(s) 64014: [Backport #14926]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sat Sep 1 11:31:28 JST 2018


nagachika	2018-09-01 11:31:27 +0900 (Sat, 01 Sep 2018)

  New Revision: 64603

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

  Log:
    merge revision(s) 64014: [Backport #14926]
    
    fix sum on infinity
    
    * array.c (rb_ary_sum): consider non-finite floats.
      [ruby-core:88024] [Bug #14926]
    
    * enum.c (sum_iter): ditto.

  Modified directories:
    branches/ruby_2_5/
  Modified files:
    branches/ruby_2_5/array.c
    branches/ruby_2_5/enum.c
    branches/ruby_2_5/test/ruby/test_array.rb
    branches/ruby_2_5/test/ruby/test_enum.rb
    branches/ruby_2_5/version.h


More information about the ruby-cvs mailing list