[ruby-cvs:64393] nobu:r57227 (trunk): numeric.c: reduce fdiv

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Dec 28 13:40:58 JST 2016


nobu	2016-12-28 13:40:58 +0900 (Wed, 28 Dec 2016)

  New Revision: 57227

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

  Log:
    numeric.c: reduce fdiv
    
    * numeric.c (rb_int_fdiv_double): reduce first for more precise
      result.  [ruby-core:78886] [Bug #13078]

  Modified files:
    trunk/internal.h
    trunk/numeric.c
    trunk/test/ruby/test_rational.rb


More information about the ruby-cvs mailing list