[ruby-cvs:62785] nobu:r55621 (trunk): util.c: round nearly middle value

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Jul 10 14:27:27 JST 2016


nobu	2016-07-10 14:27:27 +0900 (Sun, 10 Jul 2016)

  New Revision: 55621

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

  Log:
    util.c: round nearly middle value
    
    * util.c (ruby_dtoa): [EXPERIMENTAL] adjust the case that the
      Float value is close to the exact but unrepresentable middle
      value of two values in the given precision, as r55604.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_sprintf.rb
    trunk/util.c


More information about the ruby-cvs mailing list