ruby/test/bigdecimal
mrkn 678b6820f7 * ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec): support instantiation from
a Float through Rational.
* ext/bigdecimal/bigdecimal.c (BigDecimal_new): ditto.
* test/bigdecimal/test_bigdecimal.rb (test_global_new_float): add a test for
  the above changes.
* test/bigdecimal/test_bigdecimal.rb (test_new_with_float): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-31 15:33:42 +00:00
..
test_bigdecimal.rb * ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec): support instantiation from 2011-05-31 15:33:42 +00:00
test_bigmath.rb * ext/bigdecimal/bigdecimal.c (Init_bigdecimal): add two new constants BigDecimal::INFINITY and BigDecimal::NAN. 2010-07-03 07:47:00 +00:00
testbase.rb * test/bigdecimal/testbase.rb (teardown): should reset all modes. 2010-04-26 01:55:51 +00:00