mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Precision for '**' enhanced (bug).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e8aa990f92
commit
49298086d0
1 changed files with 2 additions and 2 deletions
|
@ -3891,7 +3891,7 @@ VpPower(Real *y, Real *x, S_INT n)
|
||||||
|
|
||||||
/* Allocate working variables */
|
/* Allocate working variables */
|
||||||
|
|
||||||
w1 = VpAlloc((x->Prec + 2) * BASE_FIG, "#0");
|
w1 = VpAlloc((y->MaxPrec + 2) * BASE_FIG, "#0");
|
||||||
w2 = VpAlloc((w1->MaxPrec * 2 + 1) * BASE_FIG, "#0");
|
w2 = VpAlloc((w1->MaxPrec * 2 + 1) * BASE_FIG, "#0");
|
||||||
/* calculation start */
|
/* calculation start */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue