Compartir a través de


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

the cosine of angle

Attributes

Remarks

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

Java documentation for android.util.FloatMath.cos(float).

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