From 2f56ebe8f721ebed920da35586e4c5a1b96b7574 Mon Sep 17 00:00:00 2001 From: hsbt Date: Mon, 12 Jan 2015 04:53:23 +0000 Subject: * 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 diff --git a/ChangeLog b/ChangeLog index 5dcaa58..d6b0286 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Jan 12 13:53:17 2015 SHIBATA Hiroshi + + * math.c (math_atan2): improve documentation. + [Feature #10323][ruby-core:65400][ci skip] + Mon Jan 12 13:50:49 2015 SHIBATA Hiroshi * ext/bigdecimal/bigdecimal.c: fixes documentation like labeled lists, 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) * -- cgit v0.10.2