Skip to content

Commit

Permalink
* math.c (math_atan2): revive documentation before r49220.
Browse files Browse the repository at this point in the history
  http://d.hatena.ne.jp/nagachika/20150112/ruby_trunk_changes_49213_49226

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
hsbt committed Jan 18, 2015
1 parent 5b7850d commit 2d47bf6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Sun Jan 18 18:32:20 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>

* 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@gmail.com>

* vm_method.c (check_definition): Module#public_method_defined?,
Expand Down
4 changes: 3 additions & 1 deletion math.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ VALUE rb_eMathDomainError;
* 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)
Expand Down

0 comments on commit 2d47bf6

Please sign in to comment.