Click or drag to resize
MathAtan Method
Returns the angle whose tangent is the specified number.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static double Atan(
	double d
)

Parameters

d
Type: SystemDouble
A number representing a tangent.

Return Value

Type: Double
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.
See Also