1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/bigdecimal
mrkn 3bd8b390de * ext/bigdecimal/bigdecimal.c (BigDecimalCmp): use GetVpValueWithPrec
for Float and Rational arguments.
* test/bigdecimal/test_bigdecimal.rb (test_new, test_cmp, test_power):
  add and modify tests for the above change.
* ext/bigdecimal/bigdecimal.c (BigDecimalCmp): modify coding style to
  match ruby's standard.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13 09:51:48 +00:00
..
test_bigdecimal.rb * ext/bigdecimal/bigdecimal.c (BigDecimalCmp): use GetVpValueWithPrec 2011-06-13 09:51:48 +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