Skip to content

Commit 2d5f09e

Browse files
authored
Update Math.xml
Per the explanation for each quadrant and boundary, the returned value cannot equal to -π in any case. (it's -π < θ , not -π <= θ , in quadrant #2 )
1 parent ff8f40e commit 2d5f09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System/Math.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@
10211021
<param name="y">The y coordinate of a point.</param>
10221022
<param name="x">The x coordinate of a point.</param>
10231023
<summary>Returns the angle whose tangent is the quotient of two specified numbers.</summary>
1024-
<returns>An angle, θ, measured in radians, such that -π θ ≤ π, and tan(θ) = <paramref name="y" /> / <paramref name="x" />, where (<paramref name="x" />, <paramref name="y" />) is a point in the Cartesian plane. Observe the following:
1024+
<returns>An angle, θ, measured in radians, such that -π < θ ≤ π, and tan(θ) = <paramref name="y" /> / <paramref name="x" />, where (<paramref name="x" />, <paramref name="y" />) is a point in the Cartesian plane. Observe the following:
10251025

10261026
- For (<paramref name="x" />, <paramref name="y" />) in quadrant 1, 0 &lt; θ &lt; π/2.
10271027

0 commit comments

Comments
 (0)