Project

General

Profile

« Previous | Next » 

Revision 3bd8b390

Added by Kenta Murata over 14 years ago

  • 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