[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-cvs
Subject: [ruby-cvs:39049] mrkn:r31870 (trunk): * ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec): support in
From: mrkn () ruby-lang ! org
Date: 2011-05-31 15:33:43
Message-ID: 20110531153343.764AD3ED34 () fluorine ! ruby-lang ! org
[Download RAW message or body]
mrkn 2011-06-01 00:33:42 +0900 (Wed, 01 Jun 2011)
New Revision: 31870
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31870
Log:
* 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.
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