aboutsummaryrefslogtreecommitdiffstats
path: root/math.c
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-12 04:53:23 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-12 04:53:23 +0000
commit2f56ebe8f721ebed920da35586e4c5a1b96b7574 (patch)
tree10736b80a38515dd6441e073254381d585047b06 /math.c
parent60c580fdcdfdf61b18a3f693d1fb2b0937b8c528 (diff)
downloadruby-2f56ebe8f721ebed920da35586e4c5a1b96b7574.tar.gz
* math.c (math_atan2): improve documentation.
[Feature #10323][ruby-core:65400][ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
-rw-r--r--math.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math.c b/math.c
index 9aff66333a..20b3e77cee 100644
--- a/math.c
+++ b/math.c
@@ -37,8 +37,8 @@ VALUE rb_eMathDomainError;
* 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)
*