ruby-changes:37244
From: hsbt <ko1@a...>
Date: Sun, 18 Jan 2015 18:32:38 +0900 (JST)
Subject: [ruby-changes:37244] hsbt:r49325 (trunk): * math.c (math_atan2): revive documentation before r49220.
hsbt 2015-01-18 18:32:26 +0900 (Sun, 18 Jan 2015) New Revision: 49325 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49325 Log: * math.c (math_atan2): revive documentation before r49220. http://d.hatena.ne.jp/nagachika/20150112/ruby_trunk_changes_49213_49226 Modified files: trunk/ChangeLog trunk/math.c Index: math.c =================================================================== --- math.c (revision 49324) +++ math.c (revision 49325) @@ -37,7 +37,9 @@ VALUE rb_eMathDomainError; https://github.com/ruby/ruby/blob/trunk/math.c#L37 * call-seq: * Math.atan2(y, x) -> Float * - * Returns a angle in radians between the positive x-axis of cartesian plane + * Computes the arc tangent given +y+ and +x+. + * Returns a Float in the range -PI..PI. Return value is 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 49324) +++ ChangeLog (revision 49325) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Jan 18 18:32:20 2015 SHIBATA Hiroshi <shibata.hiroshi@g...> + + * math.c (math_atan2): revive documentation before r49220. + http://d.hatena.ne.jp/nagachika/20150112/ruby_trunk_changes_49213_49226 + Sun Jan 18 15:57:32 2015 Seiei Higa <hanachin@g...> * vm_method.c (check_definition): Module#public_method_defined?, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/