diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-27 12:47:14 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-27 12:47:14 +0000 |
commit | d44b12f5bc8ad20d392c32e95bf2091e444be51c (patch) | |
tree | 519c7e4ee87b52afc7b9b6c5996b131d540847be /ChangeLog | |
parent | 7fa4b05ac29accd16525e617c5869ca650c2d9b1 (diff) | |
download | ruby-d44b12f5bc8ad20d392c32e95bf2091e444be51c.tar.gz ruby-d44b12f5bc8ad20d392c32e95bf2091e444be51c.tar.xz ruby-d44b12f5bc8ad20d392c32e95bf2091e444be51c.zip |
* numeric.c (num_fdiv): fallback to_f should always return float
result. should not use #quo that may return rational.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -28,6 +28,9 @@ Tue May 27 15:36:27 2008 Yukihiro Matsumoto <matz@ruby-lang.org> * numeric.c (check_uint, rb_num2fix, int_chr): ditto. + * numeric.c (num_fdiv): fallback to_f should always return float + result. should not use #quo that may return rational. + Tue May 27 13:14:53 2008 Akinori MUSHA <knu@iDaemons.org> * enum.c (enum_to_a): Pass arguments through to #each(). |