[ruby-cvs:65685] usa:r58513 (ruby_2_3): merge revision(s) 55604, 55612: [Backport #13138]

usa at ruby-lang.org usa at ruby-lang.org
Sun Apr 30 22:27:18 JST 2017


usa	2017-04-30 22:27:17 +0900 (Sun, 30 Apr 2017)

  New Revision: 58513

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

  Log:
    merge revision(s) 55604,55612: [Backport #13138]
    
    * numeric.c (flo_round): [EXPERIMENTAL] adjust the case that the
      receiver is close to the exact but unrepresentable middle value
      of two values in the given precision.
      http://d.hatena.ne.jp/hnw/20160702
    
    numeric.c: round as double
    
    * numeric.c (flo_round): compare as double, not long double with
      i387.

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/numeric.c
    branches/ruby_2_3/test/ruby/test_float.rb
    branches/ruby_2_3/version.h


More information about the ruby-cvs mailing list