语言

Single.Cos(Single) 方法

定义

计算值的余弦值。

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

参数

x
Single

要计算余弦的值(以弧度为单位)。

返回

的余弦值x

实现

注解

此计算 。cos(x)

适用于