Lire en anglais Modifier

Partager via


Single.Cos(Single) Method

Definition

Computes the cosine of a value.

C#
public static float Cos(float x);

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

Produit Versions
.NET 7, 8, 9, 10