[ruby-cvs:54170] nobu:r47024 (trunk): numeric.c: 0 % Float::NAN returns Float::NAN

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Aug 1 16:35:49 JST 2014


nobu	2014-08-01 16:35:48 +0900 (Fri, 01 Aug 2014)

  New Revision: 47024

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

  Log:
    numeric.c: 0 % Float::NAN returns Float::NAN
    
    * numeric.c (flodivmod): all results are NaN if divisor is NaN.
      [fix GH-692]

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


More information about the ruby-cvs mailing list