[ruby-cvs:49939] akr:r42797 (trunk): * bignum.c (rb_str2big_poweroftwo): New function.

akr at ruby-lang.org akr at ruby-lang.org
Tue Sep 3 12:50:16 JST 2013


akr	2013-09-03 12:50:15 +0900 (Tue, 03 Sep 2013)

  New Revision: 42797

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42797

  Log:
    * bignum.c (rb_str2big_poweroftwo): New function.
      (rb_str2big_normal): Ditto.
      (rb_str2big_karatsuba): Ditto.
    
    * internal.h (rb_str2big_poweroftwo): Declared.
      (rb_str2big_normal): Ditto.
      (rb_str2big_karatsuba): Ditto.
    
    * ext/-test-/bignum/str2big.c: New file.
    
    * test/-ext-/bignum/test_str2big.rb: New file.
    
    * ext/-test-/bignum/depend: Add the dependency for str2big.c.

  Added files:
    trunk/ext/-test-/bignum/str2big.c
    trunk/test/-ext-/bignum/test_str2big.rb
  Modified files:
    trunk/ChangeLog
    trunk/bignum.c
    trunk/ext/-test-/bignum/depend
    trunk/internal.h


More information about the ruby-cvs mailing list