aboutsummaryrefslogtreecommitdiffstats
path: root/bignum.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-20 14:09:32 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-20 14:09:32 +0000
commita0d42f035421dabf54500ef83a34df2bf09573ea (patch)
tree7260e05deb2cf415dc5f0dec65c006fb63c06f21 /bignum.c
parent7e36326c06a40dbe4900883cd180255e3beaa2e5 (diff)
downloadruby-a0d42f035421dabf54500ef83a34df2bf09573ea.tar.gz
* 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
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index be9c1e2740..c17bcda483 100644
--- a/bignum.c
+++ b/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);
}