Single.Cos(Single) Method

Definition

Computes the cosine of a value.

public:
 static float Cos(float x) = System::Numerics::ITrigonometricFunctions<float>::Cos;
public static float Cos (float x);
static member Cos : single -> single
Public Shared Function Cos (x As Single) As Single

Parameters

x
Single

The value, in radians, whose cosine is to be computed.

Returns

The cosine of x.

Implements

Remarks

This computes cos(x).

Applies to