共用方式為


NFloat.SinCosPi(NFloat) 方法

定義

計算值的正弦和餘弦值。

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))

適用於