[前][次][番号順一覧][スレッド一覧]

ruby-changes:29928

From: akr <ko1@a...>
Date: Mon, 15 Jul 2013 11:26:34 +0900 (JST)
Subject: [ruby-changes:29928] akr:r41980 (trunk): * bignum.c (maxpow_in_bdigit_dbl): Useless #if removed.

akr	2013-07-15 11:26:24 +0900 (Mon, 15 Jul 2013)

  New Revision: 41980

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

  Log:
    * bignum.c (maxpow_in_bdigit_dbl): Useless #if removed.

  Modified files:
    trunk/ChangeLog
    trunk/bignum.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41979)
+++ ChangeLog	(revision 41980)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Jul 15 11:24:48 2013  Tanaka Akira  <akr@f...>
+
+	* bignum.c (maxpow_in_bdigit_dbl): Useless #if removed.
+
 Mon Jul 15 11:10:46 2013  Zachary Scott  <e@z...>
 
 	* bignum.c (rb_big_coerce): [DOC] Add docs for Bignum#coerce
Index: bignum.c
===================================================================
--- bignum.c	(revision 41979)
+++ bignum.c	(revision 41980)
@@ -402,8 +402,7 @@ maxpow_in_bdigit_dbl(int base, int *exp_ https://github.com/ruby/ruby/blob/trunk/bignum.c#L402
     assert(2 <= base && base <= 36);
 
     {
-#if   SIZEOF_BDIGIT_DBL == 0
-#elif SIZEOF_BDIGIT_DBL == 2
+#if SIZEOF_BDIGIT_DBL == 2
         maxpow = maxpow16_num[base-2];
         exponent = maxpow16_exp[base-2];
 #elif SIZEOF_BDIGIT_DBL == 4

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]