diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-26 15:49:47 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-26 15:49:47 +0000 |
commit | dca0b4177706c2cd9cda0d38af1b82752982e158 (patch) | |
tree | 127949dd094e102c5fde0dd73066c2e397134f34 /ChangeLog | |
parent | 079fb8d4c369cfc7d450d6e4d02b112596dcb5ee (diff) | |
download | ruby-dca0b4177706c2cd9cda0d38af1b82752982e158.tar.gz |
* ext/bigdecimal/lib/bigdecimal/util.rb (Rational#to_d):
zero or negative precision is error. fixes #5098.
[ruby-dev:44210]
* test/bigdecimal/test_bigdecimal_util.rb: add test for the above
change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +Wed Jul 27 00:50:00 2011 Kenta Murata <mrkn@mrkn.jp> + + * ext/bigdecimal/lib/bigdecimal/util.rb (Rational#to_d): + zero or negative precision is error. fixes #5098. + [ruby-dev:44210] + + * test/bigdecimal/test_bigdecimal_util.rb: add test for the above + change. + Wed Jul 27 00:48:00 2011 Kenta Murata <mrkn@mrkn.jp> * ext/bigdecimal/lib/bigdecimal/util.rb (Float#to_d): modified for |