summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_dir.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-05-01 03:46:47 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-05-01 03:46:47 +0000
commit89be9f3923cb489d9168ddd145f489801b41f8a8 (patch)
tree1a829f92487a898a45c845e668115434d143b80f /test/ruby/test_dir.rb
parent602a89db1f75850f84a2543485ab2b0f796692f6 (diff)
downloadruby-89be9f3923cb489d9168ddd145f489801b41f8a8.tar.gz
ruby-89be9f3923cb489d9168ddd145f489801b41f8a8.tar.xz
ruby-89be9f3923cb489d9168ddd145f489801b41f8a8.zip
* numeric.c (num_div): use floor rather than rb_Integer().
[ruby-dev:28589] * numeric.c (flo_divmod): the first element of Float#divmod should be an integer. [ruby-dev:28589] * test/ruby/test_float.rb: add tests for divmod, div, modulo and remainder. * util.c (ruby_strtod): fixed wrong conversion. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_dir.rb')
0 files changed, 0 insertions, 0 deletions