Mono Class Library: System.Math Overview | MembersSystem.Math.Atan Method |
Returns the angle whose tangent is the specified double. [Edit]
|
A double containing the value of the angle, theta, measured in radians, for which d is the tangent, such that -pi/2 <= theta <= pi/2.
The following table specifies the return value if d is equal to double.NaN, double.NegativeInfinity, or double.PositiveInfinity .
[Edit]
Return Value Condition double.NaN d is equal to double.NaN. -pi/2 rounded to double precision (-1.5707963267949) d is equal to double.NegativeInfinity. pi/2 rounded to double precision (1.5707963267949) d is equal to double.PositiveInfinity.
Note:[Edit]A positive return value represents a counterclockwise angle from the positive x-axis; a negative return value represents a clockwise angle.
Multiply the return value by 180/pi to convert from radians to degrees.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0