asp.net.ph

Math.Atan Method

System Namespace   Math Class


Returns the angle whose tangent is the specified number.

[ VB ]
Public Shared Function Atan ( _
   ByVal d As Double _
) As Double

[ C# ]
public static double Atan (
   double d
);

[ C++ ]
public: static double Atan (
   double d
);

[ JScript ]
public static function Atan (
   d : double
) : double;

Parameters

d
A number representing a tangent.

Return Value

An angle, q, measured in radians, such that -π/2 ≤ q ≤ π/2.

-or-

NaN if d equals NaN, -π/2 rounded to double precision ( -1.5707963267949 ) if d equals NegativeInfinity, or π/2 rounded to double precision ( 1.5707963267949 ) if d equals PositiveInfinity.

Remarks

A positive return value represents a counterclockwise angle from the x-axis; a negative return value represents a clockwise angle.

Multiply the return value by 180/π to convert from radians to degrees.

See Also

Math Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph