Backport #7315

r37565 (bigmul1_toom3 のバグ回避) をバックポートしてください

Added by Kenta Murata over 1 year ago. Updated over 1 year ago.

[ruby-dev:46452]
Status:Closed
Priority:Urgent
Assignee:Usaku NAKAMURA

Description

r37565 でコミットした bigmul1_toom3 のバグ回避修正は 1.9.3 にも適用すべきだと思うのでバックポートしてください。


Related issues

Related to ruby-trunk - Bug #7242: Bignum mathematical accuracy regression in r31695 Closed 10/30/2012

Associated revisions

Revision 37570
Added by Usaku NAKAMURA over 1 year ago

merge revision(s) 37565: [Backport #7315]

* bignum.c (bigmul0): disable big_mul_toom3_temporalily.
   [Bug #7242]

* test/ruby/test_bignum.rb (test_mul_large_numbers):
  add a test for bigmul1_toom3 suggested in [Bug #7242].

Revision 37573
Added by Usaku NAKAMURA over 1 year ago

merge revision(s) 37567: [Backport #7315]

* bignum.c (bigmul0): enable big_mul_toom3.
   [Bug #7242]

* bignum.c (bigmul1_toom3): fix incorrect calculation.
  the patch is made by Heesob Park.
   [Bug #7242]

* bignum.c (bigmul0): disable big_mul_toom3 temporalily.

History

#1 Updated by Kenta Murata over 1 year ago

r37567 で根本的に修正できたので、これも取り込んでください。

#2 Updated by Usaku NAKAMURA over 1 year ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r37570.
Kenta, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 37565: [Backport #7315]

* bignum.c (bigmul0): disable big_mul_toom3_temporalily.
   [Bug #7242]

* test/ruby/test_bignum.rb (test_mul_large_numbers):
  add a test for bigmul1_toom3 suggested in [Bug #7242].

Also available in: Atom PDF