Returns the angle whose tangent is the specified number.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static float Atan( float x )
Public Shared Function Atan ( _ x As Single _ ) As Single
public: static float Atan( float x )
Parameters
- x (Single)
- A number representing a tangent
Return Value
An angle, θ, measured in radians, such that -π/2 ≤θ≤π/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.