summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
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 9aff663..20b3e77 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)
*