[ruby-cvs:52332] nobu:r45187 (trunk): numeric.c: check signs before division

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Feb 27 12:10:12 JST 2014


nobu	2014-02-27 12:10:12 +0900 (Thu, 27 Feb 2014)

  New Revision: 45187

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45187

  Log:
    numeric.c: check signs before division
    
    * numeric.c (ruby_num_interval_step_size): check signs and get rid
      of implementation dependent behavior of negative division.
      [ruby-core:61106] [Bug #9570]

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


More information about the ruby-cvs mailing list