Project

General

Profile

« Previous | Next » 

Revision fdb991b9

Added by akr (Akira Tanaka) over 12 years ago

  • bignum.c (KARATSUBA_BALANCED): New macro.
    (TOOM3_BALANCED): Ditto.
    (bary_mul_balance_with_mulfunc): Use KARATSUBA_BALANCED and
    TOOM3_BALANCED.
    (rb_big_mul_balance): Relax a condition.
    (rb_big_mul_karatsuba): Use KARATSUBA_BALANCED.
    (rb_big_mul_toom3): Use TOOM3_BALANCED.
    (bary_mul_karatsuba_branch): Use KARATSUBA_BALANCED.
    (bary_mul_toom3_branch): Use TOOM3_BALANCED.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e