FloatMath.Cos(Single) Method

Definition

Returns the closest float approximation of the cosine of the argument.

[Android.Runtime.Register("cos", "(F)F", "")]
public static float Cos (float angle);
[<Android.Runtime.Register("cos", "(F)F", "")>]
static member Cos : single -> single

Parameters

angle
Single

to compute the cosine of, in radians

Returns

Single
Attributes

Remarks

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