ruby-changes:30677
From: akr <ko1@a...>
Date: Sun, 1 Sep 2013 15:22:00 +0900 (JST)
Subject: [ruby-changes:30677] akr:r42756 (trunk): * bignum.c (big2str_2bdigits): Renamed from big2str_orig.
akr 2013-09-01 15:21:52 +0900 (Sun, 01 Sep 2013) New Revision: 42756 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42756 Log: * bignum.c (big2str_2bdigits): Renamed from big2str_orig. Modified files: trunk/ChangeLog trunk/bignum.c Index: ChangeLog =================================================================== --- ChangeLog (revision 42755) +++ ChangeLog (revision 42756) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Sep 1 15:21:21 2013 Tanaka Akira <akr@f...> + + * bignum.c (big2str_2bdigits): Renamed from big2str_orig. + Sun Sep 1 13:02:24 2013 Tanaka Akira <akr@f...> * bignum.c: Remove BITSPERDIG >= INT_MAX test. The static assertion, Index: bignum.c =================================================================== --- bignum.c (revision 42755) +++ bignum.c (revision 42756) @@ -4194,7 +4194,7 @@ big2str_alloc(struct big2str_struct *b2s https://github.com/ruby/ruby/blob/trunk/bignum.c#L4194 } static void -big2str_orig(struct big2str_struct *b2s, BDIGIT *xds, size_t xn, size_t taillen) +big2str_2bdigits(struct big2str_struct *b2s, BDIGIT *xds, size_t xn, size_t taillen) { size_t j; BDIGIT_DBL num; @@ -4272,7 +4272,7 @@ big2str_karatsuba(struct big2str_struct https://github.com/ruby/ruby/blob/trunk/bignum.c#L4272 } if (power_level == 0) { - big2str_orig(b2s, xds, xn, taillen); + big2str_2bdigits(b2s, xds, xn, taillen); return; } @@ -4300,7 +4300,7 @@ big2str_karatsuba(struct big2str_struct https://github.com/ruby/ruby/blob/trunk/bignum.c#L4300 memset(b2s->ptr, '0', len); b2s->ptr += len; } - big2str_orig(b2s, xds, xn, taillen); + big2str_2bdigits(b2s, xds, xn, taillen); } else { BDIGIT *qds, *rds; @@ -4448,7 +4448,7 @@ rb_big2str1(VALUE x, int base) https://github.com/ruby/ruby/blob/trunk/bignum.c#L4448 b2s_data.ptr = NULL; if (power_level == 0) { - big2str_orig(&b2s_data, xds, xn, 0); + big2str_2bdigits(&b2s_data, xds, xn, 0); } else { VALUE tmpw = 0; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/