diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-09 04:16:27 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-09 04:16:27 +0000 |
commit | 995e42817c01111bc3dfeb092d3ed7e080edd8c2 (patch) | |
tree | 414972ec9c922d0bbb1bd4a9d813de7941a9ff17 /test | |
parent | 122b6dbcb7c7c5e3c02277d75b5f38bc6d5c3103 (diff) |
merge revision(s) 37567: [Backport #7315]
* bignum.c (bigmul0): enable big_mul_toom3.
[ruby-core:48552] [Bug #7242]
* bignum.c (bigmul1_toom3): fix incorrect calculation.
the patch is made by Heesob Park.
[ruby-core:48552] [Bug #7242]
* bignum.c (bigmul0): disable big_mul_toom3 temporalily.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_bignum.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ruby/test_bignum.rb b/test/ruby/test_bignum.rb index d4fdfe7a12..4343f3fdbf 100644 --- a/test/ruby/test_bignum.rb +++ b/test/ruby/test_bignum.rb @@ -274,7 +274,6 @@ class TestBignum < Test::Unit::TestCase 69131640408147806442422254638590386673344704147156793990832671592488742473 31524606724894164324227362735271650556732855509929890983919463699819116427 ].join.to_i - b = %w[ 31519454770031243652776765515030872050264386564379909299874378289835540661 99756262835346828114038365624177182230027040172583473561802565238817167503 @@ -354,7 +353,7 @@ class TestBignum < Test::Unit::TestCase 21851731257845562153822058534043916834839514338448582518847879059020959697 90538105704766415685100946308842788321400392381169436435078204622400475281 ].join.to_i - assert_equal(c, a*b) + assert_equal(c, a*b, '[ruby-core:48552]') end def test_divrem |