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

ruby-changes:12096

From: tadf <ko1@a...>
Date: Sat, 20 Jun 2009 20:29:38 +0900 (JST)
Subject: [ruby-changes:12096] Ruby:r23767 (trunk): * complex.c: edited rdoc.

tadf	2009-06-20 20:29:21 +0900 (Sat, 20 Jun 2009)

  New Revision: 23767

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

  Log:
    * complex.c: edited rdoc.
    * numeric.c: ditto.

  Modified files:
    trunk/ChangeLog
    trunk/complex.c
    trunk/numeric.c

Index: complex.c
===================================================================
--- complex.c	(revision 23766)
+++ complex.c	(revision 23767)
@@ -380,6 +380,13 @@
     }
 }
 
+/*
+ * call-seq:
+ *   Complex.rect(real[, imag])         =>  complex
+ *   Complex.rectangular(real[, imag])  =>  complex
+ *
+ * Returns a complex object which denotes the given rectangular form.
+ */
 static VALUE
 nucomp_s_new(int argc, VALUE *argv, VALUE klass)
 {
@@ -519,6 +526,12 @@
 					  f_mul(x, m_sin(y)));
 }
 
+/*
+ * call-seq:
+ *   Complex.polar(abs, arg)  =>  complex
+ *
+ * Returns a complex object which denotes the given polar form.
+ */
 static VALUE
 nucomp_s_polar(VALUE klass, VALUE abs, VALUE arg)
 {
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 23766)
+++ ChangeLog	(revision 23767)
@@ -1,3 +1,9 @@
+Sat Jun 20 20:28:44 2009  Tadayoshi Funaba  <tadf@d...>
+
+	* complex.c: edited rdoc.
+
+	* numeric.c: ditto.
+
 Sat Jun 20 08:56:47 2009  Tadayoshi Funaba  <tadf@d...>
 
 	* complex.c: edited rdoc.
Index: numeric.c
===================================================================
--- numeric.c	(revision 23766)
+++ numeric.c	(revision 23767)
@@ -502,8 +502,9 @@
  *
  * Document-class: Float
  *
- *  <code>Float</code> objects represent inexact numbers using the native
- *  architecture's double-precision floating point representation.
+ *  <code>Float</code> objects represent inexact real numbers using
+ *  the native architecture's double-precision floating point
+ *  representation.
  */
 
 VALUE

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

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