diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-23 16:22:04 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-23 16:22:04 +0000 |
commit | af8cae1e7fe0a5ee0b9404aaf8ed7c9888272d09 (patch) | |
tree | 691a59654bd5dff36bfb54318ff4fe40c732d276 /variable.c | |
parent | 526d246f715a1a0046942f942173c2d9447e78a5 (diff) | |
download | ruby-af8cae1e7fe0a5ee0b9404aaf8ed7c9888272d09.tar.gz |
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): to_f must underflow when the exponent is less than DBL_MIN_10_EXP - BASE_FIG.
* test/bigdecimal/test_bigdecimal.rb (test_to_f): added test for the above changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
0 files changed, 0 insertions, 0 deletions