diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-05 16:34:59 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-05 16:34:59 +0000 |
commit | 2308fb170e5a1d1f6ad580fe3620d24d75069585 (patch) | |
tree | ec7684c025673727f10a0c8a45027689c9fa2de7 /version.h | |
parent | 8cffe06a04e2107c765a32a0b8b8bbe2b02f2ef0 (diff) | |
download | ruby-2308fb170e5a1d1f6ad580fe3620d24d75069585.tar.gz |
* ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec):
treat 0.0 and -0.0 of floating-point numbers specially for an optimization
and to correctly propagate its signbit to the result.
[Bug #9214] [ruby-core:58858]
* test/bigdecimal/test_bigdecimal.rb: add tests case for the above change.
* test/bigdecimal/test_bigdecimal_util.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.h')
0 files changed, 0 insertions, 0 deletions