[ruby-cvs:69354] nagachika:r62173 (ruby_2_4): merge revision(s) 60040, 60188: [Backport #14014]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sat Feb 3 11:39:42 JST 2018


nagachika	2018-02-03 11:39:42 +0900 (Sat, 03 Feb 2018)

  New Revision: 62173

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

  Log:
    merge revision(s) 60040,60188: [Backport #14014]
    
    complex.c: no overflow
    
    * complex.c (rb_complex_finite_p): get rid of overflow and
      unnecessary multiplication.
    
    test_complex.rb: NaN Complex
    
    * test/ruby/test_complex.rb (test_finite_p): assertions for NaN
      Complex.  NaN is not an infinite nor a finite number.
      [ruby-core:83272] [Bug #14014]

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/complex.c
    branches/ruby_2_4/numeric.c
    branches/ruby_2_4/test/ruby/test_complex.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list