Project

General

Profile

Feature #10323 ยป improving_doc_of_atan2.patch

gogotanaka (Kazuki Tanaka), 10/04/2014 01:33 AM

View differences:

math.c
* 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-1/1)