diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-31 05:52:10 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-31 05:52:10 +0000 |
commit | 15293df7d7d278a6dac60ebd03cf76e6b37eb910 () | |
tree | 4e9881d81c632272fcea7dfb87d451af4af2bf36 | |
parent | 1d1130eea1c47da679ac423ccfcb1a9bcec1c937 (diff) |
* test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_to_f): added
for previous commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/bigdecimal/test_bigdecimal.rb | 5 |
2 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,8 @@ Fri Aug 31 14:32:05 2012 NAKAMURA Usaku <[email protected]> * ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): use self's sign to @@ -569,6 +569,11 @@ class TestBigDecimal < Test::Unit::TestCase assert_nothing_raised(FloatDomainError, x) { assert_in_delta(0.0, BigDecimal(x).to_f, 10**Float::MIN_10_EXP, bug6944) } end def test_coerce |