語言

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

適用於