diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-23 06:22:50 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-23 06:22:50 +0000 |
commit | a9ec8adff324bffa6f3cd18620b674e5737ce0bc (patch) | |
tree | fa8ac7f3dd7ae1d12349e43bc3f4c47510fc907a /st.h | |
parent | 259ba31d8a9bde12f412ba500d80180022d7416e (diff) | |
download | ruby-a9ec8adff324bffa6f3cd18620b674e5737ce0bc.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.h')
0 files changed, 0 insertions, 0 deletions