[ruby-cvs:66688] nagachika:r59510 (ruby_2_4): merge revision(s) 58523: [Backport #13528]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sat Aug 5 10:45:39 JST 2017


nagachika	2017-08-05 10:45:39 +0900 (Sat, 05 Aug 2017)

  New Revision: 59510

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

  Log:
    merge revision(s) 58523: [Backport #13528]
    
    rational.c: canonicalization case
    
    * rational.c (float_numerator, float_denominator): fix for
      canonicalization case where `Float#to_r` could return an Integer
      not a Rational.  although mathn.rb has been removed in the
      trunk, fix for the backport purpose.
      [ruby-core:80942] [Bug #13528]

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/rational.c
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list