diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-18 09:32:26 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-18 09:32:26 +0000 |
commit | 2d47bf629f711cf5e0c2084225e9573fc8007db5 (patch) | |
tree | 6bfd63a91e4b69988ef4d39fc330c459635292ef /math.c | |
parent | 5b7850dafa214e693ae8563070f7966186423eb0 (diff) | |
download | ruby-2d47bf629f711cf5e0c2084225e9573fc8007db5.tar.gz |
* math.c (math_atan2): revive documentation before r49220.
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
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |