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

ruby-changes:37139

From: hsbt <ko1@a...>
Date: Mon, 12 Jan 2015 13:53:28 +0900 (JST)
Subject: [ruby-changes:37139] hsbt:r49220 (trunk): * math.c (math_atan2): improve documentation.

hsbt	2015-01-12 13:53:23 +0900 (Mon, 12 Jan 2015)

  New Revision: 49220

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

  Log:
    * math.c (math_atan2): improve documentation.
      [Feature #10323][ruby-core:65400][ci skip]

  Modified files:
    trunk/ChangeLog
    trunk/math.c
Index: math.c
===================================================================
--- math.c	(revision 49219)
+++ math.c	(revision 49220)
@@ -37,8 +37,8 @@ VALUE rb_eMathDomainError; https://github.com/ruby/ruby/blob/trunk/math.c#L37
  *  call-seq:
  *     Math.atan2(y, x)  -> Float
  *
- *  Computes the arc tangent given +y+ and +x+.
- *  Returns a Float in the range -PI..PI.
+ *  Returns a angle in radians between the positive x-axis of cartesian plane
+ *  and the point given by the coordinates (+x+, +y+) on it.
  *
  *  Domain: (-INFINITY, INFINITY)
  *
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 49219)
+++ ChangeLog	(revision 49220)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Jan 12 13:53:17 2015  SHIBATA Hiroshi  <shibata.hiroshi@g...>
+
+	* math.c (math_atan2): improve documentation.
+	  [Feature #10323][ruby-core:65400][ci skip]
+
 Mon Jan 12 13:50:49 2015  SHIBATA Hiroshi  <shibata.hiroshi@g...>
 
 	* ext/bigdecimal/bigdecimal.c: fixes documentation like labeled lists,

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

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