[ruby-cvs:61787] nobu:r54625 (trunk): numeric.c: flo_truncate

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


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

  New Revision: 54625

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

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

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


More information about the ruby-cvs mailing list