From 4fc370d6a11caff5a5b973f47c334a94f204784e Mon Sep 17 00:00:00 2001 From: gogotanaka Date: Fri, 3 Oct 2014 18:28:05 -0700 Subject: [PATCH] Improving Math.atan2 --- math.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/math.c b/math.c index a09d605..47a3dd4 100644 --- a/math.c +++ b/math.c @@ -38,8 +38,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) * -- 1.8.5.2 (Apple Git-48)