Search
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby
All Projects
Ruby
Overview
Activity
Roadmap
Issues
Repository
Like
«
Previous
|
Next
»
Revision 100931ac
Added by Kenta Murata
about 14 years
ago
ID
100931ac2cc3b5c4e0c4dec9d91061de9e09f3da
Parent
b54141bb
Child
6a158e05
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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Loading...
coercing from a Rational to stop requiring "bigecimal/util.rb".
[ruby-core:34318]
Rational.
test for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e