[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-cvs
Subject:    [ruby-cvs:39043] mrkn:r31864 (trunk): * ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec): replace th
From:       mrkn () ruby-lang ! org
Date:       2011-05-31 14:43:40
Message-ID: 20110531144340.9E98C3ED34 () fluorine ! ruby-lang ! org
[Download RAW message or body]

mrkn	2011-05-31 23:43:39 +0900 (Tue, 31 May 2011)

  New Revision: 31864

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31864

  Log:
    * ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec): replace the algorithm for
      coercing from a Rational to stop requiring "bigecimal/util.rb".
      [ruby-core:34318]
    * ext/bigdecimal/bigdecimal.c (GetVpValue): refactoring.
    * ext/bigdecimal/bigdecimal.c (BigDecimal_new): support instantiation from a
      Rational.
    * test/bigdecimal/test_bigdecimal.rb (test_global_new_with_rationao): add a
      test for the above change.
    * test/bigdecimal/test_bigdecimal.rb (test_new_with_rationao): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/ext/bigdecimal/bigdecimal.c
    trunk/test/bigdecimal/test_bigdecimal.rb

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic