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

ruby-changes:29257

From: zzak <ko1@a...>
Date: Sat, 15 Jun 2013 10:20:38 +0900 (JST)
Subject: [ruby-changes:29257] zzak:r41309 (trunk): * ext/bigdecimal/bigdecimal.c: Update overview formatting of headers

zzak	2013-06-15 10:20:27 +0900 (Sat, 15 Jun 2013)

  New Revision: 41309

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

  Log:
    * ext/bigdecimal/bigdecimal.c: Update overview formatting of headers

  Modified files:
    trunk/ChangeLog
    trunk/ext/bigdecimal/bigdecimal.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41308)
+++ ChangeLog	(revision 41309)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Jun 15 10:19:42 2013  Zachary Scott  <zachary@z...>
+
+	* ext/bigdecimal/bigdecimal.c: Update overview formatting of headers
+
 Sat Jun 15 10:19:06 2013  Zachary Scott  <zachary@z...>
 
 	* ext/bigdecimal/bigdecimal.gemspec: Update authors
Index: ext/bigdecimal/bigdecimal.c
===================================================================
--- ext/bigdecimal/bigdecimal.c	(revision 41308)
+++ ext/bigdecimal/bigdecimal.c	(revision 41309)
@@ -2948,15 +2948,7 @@ get_vp_value: https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L2948
 /* Document-class: BigDecimal
  * BigDecimal provides arbitrary-precision floating point decimal arithmetic.
  *
- * Copyright (C) 2002 by Shigeo Kobayashi <shigeo@t...>.
- *
- * You may distribute under the terms of either the GNU General Public
- * License or the Artistic License, as specified in the README file
- * of the BigDecimal distribution.
- *
- * Documented by mathew <meta@p...>.
- *
- * = Introduction
+ * == Introduction
  *
  * Ruby provides built-in support for arbitrary precision integer arithmetic.
  *
@@ -2996,12 +2988,12 @@ get_vp_value: https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L2988
  *
  *	(1.2 - 1.0) == 0.2 #=> false
  *
- * = Special features of accurate decimal arithmetic
+ * == Special features of accurate decimal arithmetic
  *
  * Because BigDecimal is more accurate than normal binary floating point
  * arithmetic, it requires some special values.
  *
- * == Infinity
+ * === Infinity
  *
  * BigDecimal sometimes needs to return infinity, for example if you divide
  * a value by zero.
@@ -3013,7 +3005,7 @@ get_vp_value: https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L3005
  * <code>'Infinity'</code>, <code>'+Infinity'</code> and
  * <code>'-Infinity'</code> (case-sensitive)
  *
- * == Not a Number
+ * === Not a Number
  *
  * When a computation results in an undefined value, the special value +NaN+
  * (for 'not a number') is returned.
@@ -3030,7 +3022,7 @@ get_vp_value: https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L3022
  *	n == 0.0 #=> nil
  *	n == n #=> nil
  *
- * == Positive and negative zero
+ * === Positive and negative zero
  *
  * If a computation results in a value which is too small to be represented as
  * a BigDecimal within the currently specified limits of precision, zero must
@@ -3052,6 +3044,19 @@ get_vp_value: https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L3044
  *
  * Note also that in mathematics, there is no particular concept of negative
  * or positive zero; true mathematical zero has no sign.
+ *
+ * == License
+ *
+ * Copyright (C) 2002 by Shigeo Kobayashi <shigeo@t...>.
+ *
+ * You may distribute under the terms of either the GNU General Public
+ * License or the Artistic License, as specified in the README file
+ * of the BigDecimal distribution.
+ *
+ * Maintained by mrkn <mrkn@m...> and ruby-core members.
+ *
+ * Documented by zzak <zachary@z...>, mathew <meta@p...>, and
+ * many other contributors.
  */
 void
 Init_bigdecimal(void)

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

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