[ruby-cvs:61786] nobu:r54624 (trunk): numeric.c: int_truncate

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Apr 18 12:55:33 JST 2016


nobu	2016-04-18 12:55:33 +0900 (Mon, 18 Apr 2016)

  New Revision: 54624

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

  Log:
    numeric.c: int_truncate
    
    * numeric.c (int_truncate): add an optional parameter, digits, as
      well as Integer#round.  [Feature #12245]

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


More information about the ruby-cvs mailing list