зеркало из https://github.com/github/ruby.git
* bignum.c (bigmul1_toom3): Don't call bignorm twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
7e36326c06
Коммит
a0d42f0354
|
@ -1,3 +1,7 @@
|
|||
Thu Jun 20 22:52:42 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* bignum.c (bigmul1_toom3): Don't call bignorm twice.
|
||||
|
||||
Thu Jun 20 22:49:27 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* bignum.c (bignorm): Don't call bigtrunc if the result is a fixnum.
|
||||
|
|
1
bignum.c
1
bignum.c
|
@ -3684,7 +3684,6 @@ bigmul1_toom3(VALUE x, VALUE y)
|
|||
bigadd_core(zds + 2*n, zn - 2*n, BDIGITS(z2), big_real_len(z2), zds + 2*n, zn - 2*n);
|
||||
bigadd_core(zds + 3*n, zn - 3*n, BDIGITS(z3), big_real_len(z3), zds + 3*n, zn - 3*n);
|
||||
bigadd_core(zds + 4*n, zn - 4*n, BDIGITS(z4), big_real_len(z4), zds + 4*n, zn - 4*n);
|
||||
z = bignorm(z);
|
||||
|
||||
return bignorm(z);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче