Single.SinPi(Single) 方法

定义

计算乘以 pi的值的正弦值。

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

参数

x
Single

在半革命中,在计算其正弦值之前,该值被 pi 倍加倍。

返回

x以的pi正弦值。

实现

注解

此计算 。sin(x * π)

适用于