Java.Lang.Math.Atan Method
Returns the closest double approximation of the arc tangent of the argument within the range [-pi/2..pi/2].

Syntax

[Android.Runtime.Register("atan", "(D)D", "")]
public static double Atan (double d)

Parameters

d
the value whose arc tangent has to be computed.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the closest double approximation of the arc tangent of the argument within the range [-pi/2..pi/2]. The returned result is within 1 ulp (unit in the last place) of the real result.

Special cases:

  • atan(+0.0) = +0.0
  • atan(-0.0) = -0.0
  • atan(+infinity) = +pi/2
  • atan(-infinity) = -pi/2
  • atan(NaN) = NaN

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1