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

ruby-changes:31710

From: mrkn <ko1@a...>
Date: Fri, 22 Nov 2013 14:50:41 +0900 (JST)
Subject: [ruby-changes:31710] mrkn:r43789 (trunk): * ext/bigdecimal/bigdecimal.c: Fix indentation.

mrkn	2013-11-22 14:50:34 +0900 (Fri, 22 Nov 2013)

  New Revision: 43789

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

  Log:
    * ext/bigdecimal/bigdecimal.c: Fix indentation.

  Modified files:
    trunk/ChangeLog
    trunk/ext/bigdecimal/bigdecimal.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43788)
+++ ChangeLog	(revision 43789)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Nov 22 14:31:00 2013  Kenta Murata  <mrkn@m...>
+
+	* ext/bigdecimal/bigdecimal.c: Fix indentation.
+
 Fri Nov 22 14:03:00 2013  NARUSE, Yui  <naruse@r...>
 
 	* ext/nkf: merge nkf 2.1.3 2a2f2c5.
Index: ext/bigdecimal/bigdecimal.c
===================================================================
--- ext/bigdecimal/bigdecimal.c	(revision 43788)
+++ ext/bigdecimal/bigdecimal.c	(revision 43789)
@@ -2674,18 +2674,18 @@ BigMath_s_exp(VALUE klass, VALUE x, VALU https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L2674
      *       BigDecimalCmp function. */
     switch (TYPE(x)) {
       case T_DATA:
-	  if (!is_kind_of_BigDecimal(x)) break;
-	  vx = DATA_PTR(x);
-	  negative = VpGetSign(vx) < 0;
-	  infinite = VpIsPosInf(vx) || VpIsNegInf(vx);
-	  nan = VpIsNaN(vx);
-	  break;
+	if (!is_kind_of_BigDecimal(x)) break;
+	vx = DATA_PTR(x);
+	negative = VpGetSign(vx) < 0;
+	infinite = VpIsPosInf(vx) || VpIsNegInf(vx);
+	nan = VpIsNaN(vx);
+	break;
 
       case T_FIXNUM:
-	  /* fall through */
+	/* fall through */
       case T_BIGNUM:
-	  vx = GetVpValue(x, 0);
-	  break;
+	vx = GetVpValue(x, 0);
+	break;
 
       case T_FLOAT:
 	flo = RFLOAT_VALUE(x);

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

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