Udostępnij za pośrednictwem


StrictMath.Atan(Double) Method

Definition

Returns the arc tangent of a value; the returned angle is in the range -pi/2 through pi/2.

[Android.Runtime.Register("atan", "(D)D", "")]
public static double Atan (double a);
[<Android.Runtime.Register("atan", "(D)D", "")>]
static member Atan : double -> double

Parameters

a
Double

the value whose arc tangent is to be returned.

Returns

the arc tangent of the argument.

Attributes

Remarks

Returns the arc tangent of a value; the returned angle is in the range -pi/2 through pi/2. Special cases: <ul><li>If the argument is NaN, then the result is NaN. <li>If the argument is zero, then the result is a zero with the same sign as the argument. <li>If the argument is Double#isInfinite infinite, then the result is the closest value to pi/2 with the same sign as the input. </ul>

Java documentation for java.lang.StrictMath.atan(double).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to