NFloat.SinCosPi(NFloat) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
计算值的正弦值和余弦值。
public:
static ValueTuple<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat> SinCosPi(System::Runtime::InteropServices::NFloat x) = System::Numerics::ITrigonometricFunctions<System::Runtime::InteropServices::NFloat>::SinCosPi;
public static(System.Runtime.InteropServices.NFloat SinPi, System.Runtime.InteropServices.NFloat CosPi) SinCosPi(System.Runtime.InteropServices.NFloat x);
static member SinCosPi : System.Runtime.InteropServices.NFloat -> ValueTuple<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>
Public Shared Function SinCosPi (x As NFloat) As ValueTuple(Of NFloat, NFloat)
参数
- x
- NFloat
在半革命中,该值在计算正弦和余弦之前被倍加倍 pi 。
返回
的正弦和余弦值 x。
实现
注解
此计算 。(sin(x), cos(x))