summaryrefslogtreecommitdiffstats
path: root/lib/jcode.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-23 06:22:50 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-23 06:22:50 +0000
commit308a4b0e83a1482263efc928576008c7b4bf3e8f (patch)
treefa8ac7f3dd7ae1d12349e43bc3f4c47510fc907a /lib/jcode.rb
parent7428771746bf84112a7a3722cb45fe8ea528c401 (diff)
downloadruby-308a4b0e83a1482263efc928576008c7b4bf3e8f.tar.gz
ruby-308a4b0e83a1482263efc928576008c7b4bf3e8f.tar.xz
ruby-308a4b0e83a1482263efc928576008c7b4bf3e8f.zip
* lib/rational.rb: modified to support "quo".
* numeric.c (num_quo): should return most exact quotient value, i.e. float by default, rational if available. * numeric.c (num_div): "div" should return x.divmod(x)[0]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/jcode.rb')
0 files changed, 0 insertions, 0 deletions