[ruby-cvs:64296] nobu:r57130 (trunk): numeric.c: allow nil as rounding mode option

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Dec 21 10:29:57 JST 2016


nobu	2016-12-21 10:29:57 +0900 (Wed, 21 Dec 2016)

  New Revision: 57130

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

  Log:
    numeric.c: allow nil as rounding mode option
    
    * numeric.c (rb_num_get_rounding_option): allow nil same as the
      default behavior, per [ruby-core:77961].  [Bug #12548]

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


More information about the ruby-cvs mailing list