StrictMath.Cos(Double) Method

Definition

Returns the trigonometric cosine of an angle.

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

Parameters

a
Double

an angle, in radians.

Returns

the cosine of the argument.

Attributes

Remarks

Returns the trigonometric cosine of an angle. Special cases: <ul><li>If the argument is NaN or an infinity, then the result is NaN. <li>If the argument is zero, then the result is 1.0. </ul>

Java documentation for java.lang.StrictMath.cos(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