diff options
| author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-17 12:55:16 +0000 |
|---|---|---|
| committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-17 12:55:16 +0000 |
| commit | 210af9bf295d0f8e1b96737b5cb69c4dda2e2afb (patch) | |
| tree | b8de0496c999e2cb6eb3181204dd740cbfb3d515 /test/ruby/test_pack.rb | |
| parent | 346093e450307990598f884f08de2d02fd6233b8 (diff) | |
| download | ruby-210af9bf295d0f8e1b96737b5cb69c4dda2e2afb.tar.gz ruby-210af9bf295d0f8e1b96737b5cb69c4dda2e2afb.tar.xz ruby-210af9bf295d0f8e1b96737b5cb69c4dda2e2afb.zip | |
* bignum.c (rb_big_fdiv): checks whether the given second argument
can be converted to float properly.
* numeric.c (fix_fdiv): calls rb_big_fdiv when the given second
argument is a bignum.
* rational.c (nurat_fdiv): should calculate Float(x/y), not
Float(x)/Float(y).
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_pack.rb')
0 files changed, 0 insertions, 0 deletions
