[ruby-cvs:62768] nobu:r55604 (trunk): numeric.c: round nearly middle value

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Jul 7 16:37:55 JST 2016


nobu	2016-07-07 16:37:55 +0900 (Thu, 07 Jul 2016)

  New Revision: 55604

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

  Log:
    numeric.c: round nearly middle value
    
    * 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

  Modified files:
    trunk/ChangeLog
    trunk/numeric.c
    trunk/test/ruby/test_float.rb


More information about the ruby-cvs mailing list