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 /object.c | |
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 'object.c')
0 files changed, 0 insertions, 0 deletions