mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Bug in mult method fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
28e962d92c
commit
da24c258c3
1 changed files with 1 additions and 1 deletions
|
@ -858,7 +858,7 @@ BigDecimal_mult2(VALUE self, VALUE b, VALUE n)
|
|||
ENTER(2);
|
||||
Real *cv;
|
||||
U_LONG mx = (U_LONG)GetPositiveInt(n);
|
||||
if(mx==0) BigDecimal_mult(self,b);
|
||||
if(mx==0) return BigDecimal_mult(self,b);
|
||||
else {
|
||||
U_LONG pl = VpSetPrecLimit(0);
|
||||
VALUE c = BigDecimal_mult(self,b);
|
||||
|
|
Loading…
Reference in a new issue